Right now, your computer at home -- or, more likely, your connection sharing device, such as a wireless router -- probably has a dynamic IP address. That means that other users can only refer to your computer by a cryptic address that doesn't mean much to human beings, such as 10.250.17.234. And if your IP address is dynamic, it changes every time you reconnect to your DSL or cable modem provider.
Even if your IP address is static, you still need a way for users to access your site by name, instead of by number... unless you're willing to put up with a URL like http://10.250.17.234/. And you might change ISPs. So I recommend following this article's recommendations anyway. If a URL like that doesn't bother you, and you're sure you won't change ISPs and that you have a static IP address, You may skip this step. If you don't know which you have, you probably have a dynamic IP address.
So how can we give out a reliable address to folks who want to connect to our website or BitTorrent tracker... for free? Easily: we'll use a dynamic DNS service, such as DynDNS. DynDNS offers free dynamic and static DNS services.
I use DynDNS as an example here, but you should also consider similar services offered by www.no-ip.com.
Visit the DynDNS site, or that of a similar free DNS service, and set up a dynamic IP DNS account for yourself. DynDNS offers DNS subdomain names in several domains with rather entertaining names. For instance, you might pick exampleguy.is-a-geek.com.
"Hey, DynDNS isn't really free!"
Yes, it is. Read carefully. As of this writing, the correct procedure on their site is to click on "Dynamic DNS" under "services." You will then be invited to use their "free dynamic DNS services."
Sure, DynDNS does offer other services that cost money. You might even want them. That's up to you.
You can get the DNS updating software from the DynDNS Update Clients page. Installation is a snap, with just two confusing pages in the setup wizard: "Hostname Group" and "Hostname Information."
If you have just one hostname, it's hard to see why either of these is useful. Fortunately, all you need to do on the "Hostname Group" screen is make up a name for your "group" of hostnames. exampleguy will do fine. And when you reach the "Hostname Information" screen, just be sure to check the box next to your one and only hostname before clicking "Next." Also be sure to enable automatic update -- that's the whole point!
Now you have your very own hostname on the Internet... for free! For most people, the next step is to assign a static local IP address to your computer so that you have a fixed address on your home network to forward web or BitTorrent traffic to.
Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.
Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Boutell.Com, Inc. All Rights Reserved.
