Absolute Beginners Guide To Internet Marketing

Monday, November 20, 2006

Domain Name System

I just posted this explanation of domain names, IP addresses and DNS to CYN and thought it might be useful to someone else. Its very raw and unedited due to being a forum post rather than a well thought out article but the content is reasonable I think.

---

Here's a quick explanation of the domain name system (although a quick Google search will probably explain better than I ever could).

Let's start with a couple of definitions -

domain name - the name people type into their web-browsers or email software.
IP address - the numeric address (in the form 123.123.123.123) of a computer on a network connection (in this case network can mean Internet)
DNS (domain name system) - the system of the Internet that allows domain names to be converted into IP addresses.

Basically, think of domain names as people, IP addresses as phone numbers and DNS as a phone book.

You want to call your friend John - you want to go to www.google.com
You look in the phone book to find his phone number - you (or rather your web-browser) looks it up in the DNS
You now know the phone number to call John with - your web-browser now knows the number it needs to contact to show you www.google.com

So it works like this -

You register a domain name with company X and, by default, they will set it up to point to an IP address of their's which will have a load of advertising on it. If you have signed up for hosting with them then it will be the IP address of whatever server is going to provide your hosting.

This new information is then submitted into the domain name system and eventually propagates to all the other name servers. This bit can take a little while which is why you're told to be patient. It can happen within 5 minutes but can take up to 24 hours or so.

If you haven't signed up for hosting with company X then you edit the DNS information for yourself to tell it where your hosting is (by providing an IP address for it to point to). This is called the A record. There is a separate (MX record) for the mail server that will handle email sent to name@domain.com.

So what does all this tell you?

Basically that you can find a new hosting provider and update the DNS entries of your domain names to point to the new host and (within 24 hours) be back in business.

As ever, your mileage may vary, but that's a simple round up of how this stuff works. If anyone has any questions or wants a hand to deal with any of this stuff feel free to let me know and I'll see what I can do.

5 Comments:

  • Hi,

    What is a sub-domain or sub-site?

    How do you get such a thing?

    I plan to have not only one, but two websites in the near future. One for my business and one for my personal use - pictures of family and friends. So I would need two domain names and/or hosting for each one above?

    Thank you!
    Liset

    By Blogger Liset, at 9:13 AM  

  • Hi Liset,

    A sub-domain is another word in front of the domain name separated by a '.'

    So for example if the domain name was www.yahoo.com then a subdomain might be mail.yahoo.com. It's the domain name that you have to pay for and register. Sub-domains can be setup yourself (as long as you own the root domain name).

    You don't necessarily need a domain name for each and you certainly don't need hosting for each. You could register something like www.LisetHitsTheInternet.com for your business (corny I know, it's just an example) then create a sub-domain for your personal area such as personal.LisetHitsTheInternet.com

    Then you have the domain and sub-domain point to different directories on your hosting account.

    Hope this helps,

    Andy

    By Anonymous Anonymous, at 10:18 AM  

  • Hi Andrew,

    I already have a blog (like yours) that I have not completely set-up yet. Do I need to have a domain name and hosting for this type of site? I'm not sure what I will be doing with it as of yet. I might just post family pics, or I might actually write a review and provide my affiliate link. Will this still show up on the search engines (if I do my review) even without a domain name/hosting account? Can I also get Google Adsense ads on my blog?

    Thanks in advance!
    Liset

    By Blogger Liset, at 4:49 AM  

  • Your post really helped me to understand about this. It has great details and yet it is easy to understand.Thanks! hosting service india

    By Blogger Unknown, at 6:15 AM  

  • Domain names are used for the establishment of identifying the unique identity. Organisation also choose the domain name that corresponds to their name and helps the internet users to reach them very quickly and easily.
    Great post by you. Thanks ..!!

    By Blogger Unknown, at 9:23 AM  

Post a Comment

<< Home