We need to get a domain name so web surfers can type your web address into their web browser instead of typing in your IP address.
Create a domain name.
1. Go to http://www.dyndns.com
2. Click the “Create account” link at the top right hand corner
3. Enter a preferred username, your real email address (twice), your preferred password (twice), tick the Terms of Service and Acceptable Use Policy checkbox, click the “I will only create one (1) free account” checkbox, then click the Create Account button.
4. Check your email for the activation URL.
5. Activate your account.
6. Login to Dyndns with your new account.
7. In the My Services column, click the link that says “My Hosts”
8. Click the “Add New Hostname” link
9. In the textbox, type a name for your webhost.
10. From the drop-down list on the right, select one of the given domains. (This is how the diyws.ath.cx hostname was created.)
11. Tick the “Wildcard” checkbox.
12. Ensure the “Host with IP address” radio button is selected.
13. You will see your external web address listed in the “Use auto detected IP address w.x.y.z” link – click it to fill in the IP Address textbox.
14. Leave the Mail Routing checkbox unticked for now.
15. Click the Create Host button.
If your selected hostname is already taken, a warning message will appear. Enter another one, and click the Create Host button again.
If your new host has been created successfully, you should be returned to your “My Hosts” page.
Congratulations! You now “own” this domain name!
Dynamic DNS Client.
Since your Internet connection gives you a dynamic IP address each time you connect, we need a way to inform Dyndns.com that your IP address has changed. You need to download, install and run the dynamic DNS client software.
Click the yellow Support tab at the top of the page, and click the “Download Now” link for the Dyndns Updater software.
You will need to install this software on the computer that is hosting your new XAMPP installation – you don’t have to of course, but since the computer where you’ve installed XAMPP should be left on all the time, it makes sense to install it there.
If you don’t do this step, no-one will be able to type your new host name into their web browser and see your brand new, soon-to-be-made-available website because DNS won’t be updated to point the new name at your current IP address. Remember DNS? We learnt about that previously. See Lesson 3
After you’ve installed the Updater client software, click Start, click Programs, click Dyndns Updater, click Dyndns Updater Configuration.
Since this is the first time you’ve run this, it will prompt you to enter your Dyndns username and password. Enter these details now. The Updater should then contact the Dyndns website and refresh the list of hosts. You should see only one at this point – the one you created earlier.
That’s all you need to do – that was easy wasn’t it?
So now we have our new domain name.
Tomorrow, we’ll see how to edit the Apache configuration so that we can access our new web site using the new domain name, instead of simply “localhost”
Until then, ciao! (or go to Lesson 6 now)