A static IP address can be useful in many situations, but the extra fees charged by internet providers—and the dwindling supply of available IP addresses—make one increasingly hard to obtain. There is, however, a simple, free way to make a dynamic address behave as though it were static: dynamic DNS, or DNS, from DynDNS. Its small client, Updater, gives you a free subdomain that you can associate with a computer regardless of which IP address your provider assigns. That can be useful for anything that needs an internet address and domain, such as a website or FTP server. Want to run your own site with Apache? DynDNS and a few adjustments can help you do it.

4CC1.jpg
Sign in with your account to add a service

First, create a DynDNS account. Visit the DynDNS website, register, and confirm your account using the email you receive. Sign in, open your account settings, and select Add Host Services. Choose a name and a subdomain from the available list. Wildcard allows you to use “www” at the beginning of the address; enable it if you want to. Under service type, leave Hosting with IP Address selected.

4CC3.jpg
Setting these options is very straightforward

The IP Address section should show the address the site detected for you. Click the blue text to enter that IP. This is only temporary and is needed to activate the subdomain; the DynDNS client will update the address automatically later. Leave the TTL at 60 seconds and ignore Mail Routing unless you plan to run a mail server. Apply your changes to finish this part of the setup.

4CC5.jpg
You can choose to install Updater as a service

Next, download Updater, the client that keeps your dynamic IP address synchronized with your subdomain. It is available for Windows, Mac, and Linux; we’ll use the Windows version here for wider accessibility. Installation is simple. The only question is whether to install it as a service. If you’re the only person who uses the computer and will access the client through your own account, we recommend choosing that option.

Launch the program and enter your username and password. If all is well, you’ll see a check mark in a green circle and the status “good”—a sign that the IP address is updating as it should. The Advanced section contains several options; we used all of them for our test.

4CC8.jpg
Updater’s main window, with our subdomain detected and configured
4CC9.jpg
The advanced options
4CCE.jpg
Example of a Huawei modem-router with port 80 configured

If Updater shows a green check mark, things are going smoothly. If it reports an error, a firewall or router setting may be the cause. Router setup varies by model, so we can’t give model-specific instructions, but you’ll need to open or forward the ports used by the service you plan to run. An FTP server needs TCP port 21. A web server needs port 80, and may also require port 443. For mail servers, use port 25 for incoming mail and port 110 for outgoing mail. You can find an excellent guide to port forwarding on specific routers here.

Ideally, set up the port forwarding regardless of the status Updater reports, to avoid potential conflicts. Make sure Updater, the required ports, and your service software—Apache, for example—are also added to your computer’s firewall exceptions. Unless the firewall detects the program’s network access and creates a rule automatically, you’ll need to add it yourself. For example, Windows XP SP2’s firewall does not detect Apache, so you must configure an exception manually.

That’s it. In less than twenty minutes, you can have your own web address associated with whatever IP address your provider assigns. DynDNS’s free service comes with the usual terms, including no pirated software; if such software can be accessed through your address, your account may be deleted. But if you need an FTP server for personal use or want to experiment with hosting a website, this can be genuinely useful. Good luck!

DynDNS website: Click here