Friday, March 11, 2011

How to Setup DynDNS to Point to Your Home Web Server

dyndnsDynDNS Free service allows you to create a hostname that points to your home or office IP address. Dynamic IP’s change frequently therefore it is sometimes hard to keep track or know when it changes. DynDNS provides an update mechanism which makes the hostname work with your dynamic IP address,
so if you have a dynamic IP, you will be always able to connect using the easy to remember hostname that they provided you.


In this tutorial you will learn how to set up DynDNS to create a hostname that will point to your home or office IP number and forward the hostname to a device or other service that you want to host.
You could host a personal or small business website from home, remotely access your home VPN, watch your security cameras, set up a photo gallery, and more!
To begin you will need the following:
  1. Dynamic IP assigned by your service provider.
  2. Administrative access to you Router.
  3. IP number of device that will be hosting the service; for this tutorial I will be using the IP number for my Apache Web Server.

Screenshot00
Go to DynDNS by clicking on the following link. http://www.dyndns.com/services/dns/dyndns/
Click Create Free Hostname.
Screenshot0
  1. You will be prompted to enter a desire Hostname
  2. Select from the dropdown and extension to the host.
  3. Select Host with IP Address
  4. On the IP address field enter the IP address provided by your ISP. If you don’t know it don’t worry; DynDNS already found it for you. look at the text that looks exactly like this. Your current location’s IP address is XXX.XXX.XXX.XXX.
Screenshot01
  1. Select the purpose of the Host. for this tutorial since we are doing the setup for a web server, the web server would be enough. ( note: Mail Routing should be check on if you are planning to host a mail server.)
Screenshot-1
At this point you will be creating your account. As you can see the Order Total is 0.00; if you have anything other than that then something went wrong.
  1. Enter your desired Username.
  2. Choose your password.
  3. Enter your email in the Email and the Confirm Email fields.
  4. Enter the numbers from the security image.
  5. Read the policy and if agree check it on.
  6. Click on Create Account.
Screenshot-2
At this point you will be taken to a confirmation page. 
Screenshot-3
At this time you will need to access your email and click on the link to confirm the account.
Screenshot-4
After clicking on the link you will be taken to another confirmation page that will let you know that your account is active.
  1. Now login with the User Name and password you setup your account with.
  2. If you are not taken to the shopping cart after logging in. click on it.
Screenshot-5
Click on Proceed to checkout.
Screenshot-6
Then click on Activate Services.
Screenshot-7
At this point your hostname (abcd.dyndns.org) is Active
Screenshot-8
For this tutorial we will be using the Linksys WRT610N
  1. Once in the setup go to the DDNS.
  2. Enter your credentials from DynDNS (username & Password)
  3. In the Hostname field enter your new Hostname example abcd.dyndns.org.
  4. For system choose Dynamic.
  5. For Wildcard choose Enabled.
  6. Click update.
You should get the following message in the Status DDNS is updated successfully, Operation complete.
Screenshot-9
On your router
  1. Go to Application & Gaming.
  2. Select Single Port Forwarding.
  3. On Application Name Select HTTP.
  4. On the To IP address enter the last three digits of the local IP of the Service you will be hosting. for this tutorial we will be using the Apache web server with IP 192.168.1.101
  5. Check on the Enabled box.
  6. Save the settings.
Screenshot-10
Now you are ready to try it.
  1. Go to your browser.
  2. type in the host name ( URL) in the address bar abcd.dyndns.org.
  3. And you are Done!

1 comment:

Anonymous said...

thanks