Binding an IP address to a domain name

Mavix

Senior Member
Joined
Aug 14, 2006
Messages
759
Reaction score
3
Location
Durban
If I were to use my computer as a server to host a website, how would I go about binding my IP address to the domain? I assume I would need a static IP address, so how would one get one?
I'm just asking this out of curiosity, but I'm thinking of doing it sometime in the distant future, and it would be usefull to know the process...
 
Hi Mavix,

Your name server would have an A - Record entry that maps the domain name to an IP address.
 
If I were to use my computer as a server to host a website, how would I go about binding my IP address to the domain? I assume I would need a static IP address, so how would one get one?
I'm just asking this out of curiosity, but I'm thinking of doing it sometime in the distant future, and it would be usefull to know the process...

You could use DynDNS as well. http://www.dyndns.com/services/dns/dyndns/

It updates your DNS record everytime your IP changes, so the two are always in synch.
 
Thanks for all the info guys. I'll look through the sites as soon as I have time.
I also have another question: Would I not have to register my IP with whoever manages domain names? Otherwise would one not be able to bind an IP to any site, like myadsl.co.za or google.com?
 
Would I not have to register my IP with whoever manages domain names? Otherwise would one not be able to bind an IP to any site, like myadsl.co.za or google.com?

You would simply create an A record for your IP - the A record is part of your domain's 'ZONE' information.

You don't control google's ZONE infor and so would not be able to point their domain to your IP.

I'd be interested to hear if you manage to get a static IP.
 
Mavix there are different registrars available for registering domain names. There are quite a few for .com but only one for .co.za. What you would point the domain to is your DNS server (you could use dyndns for this). On your DNS server you would set up the "A" record which would basically just point for eg. www.yourdomain.com to your IP address.

There are quite a few .com registrars that include free DNS hosting when you register the domain. Don't think too many of them support dynamic dns though.

With .co.za you have to have your DNS server properly set up before you even register the domain. (if you're doing it yourself directly. A lot of .co.za hosts will sort this out for you)
 
dyndns always allocates you a name that includes a link to their site ie something like 'yourchosenname.dyndns.com', or something similar.
 
Top
Sign up to the MyBroadband newsletter
X