Skip to Content
Windows XP Hacks
book

Windows XP Hacks

by Preston Gralla
August 2003
Beginner
416 pages
12h 47m
English
O'Reilly Media, Inc.
Content preview from Windows XP Hacks

Make Servers Always Available by Mapping a Hostname to a Dynamic IP Address

Make sure that the web site or other kind of Internet server you run at home is always available to the world.

If you run your own web server, mail server, or other kind of server at home and are connected to the Internet via a cable modem or DSL modem, people frequently may not be able to connect to your server. That’s because, typically, broadband ISPs assign you a dynamic IP address that changes regularly, even if you don’t turn off your PC. Because your IP address constantly changes, there is no way for people to connect to you. One day its IP address might be 66.31.42.96, the next it might be 66.41.42.136, and if people don’t know your server’s current IP address they won’t be able to find it. You won’t be able to solve the problem by getting your own domain (such as http://www.gralla.com) and publishing that, because DNS servers won’t be able to keep track of your changing IP address either. If people type in your domain name, the servers won’t be able to report on your IP address—and again, your server won’t be able to be reached.

There is a way to solve the problem, however: you can map your server’s hostname to a dynamic IP address. When you do this, it doesn’t matter that your IP address changes; when people type in your web site’s URL, they will be forwarded to your new IP address automatically.

You can do this for free by signing up with a service that provides automatic mapping. A number of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Windows XP Hacks, 2nd Edition

Windows XP Hacks, 2nd Edition

Preston Gralla

Publisher Resources

ISBN: 0596005113