When you want to visit a web page you start up your favorite web browser and enter its address, such as www.tagbytag.org. We've learned in the previous chapter that every computer has an unique IP address. Thus, it should be possible to access a web page directly through its web server IP, right?
Let's test this with TagByTag's server IP: 69.65.104.19
Because IP numbers are rather painful to remember, human-friendly domain names were introduced. They are part of an URL (uniform resource locator). A typical simple URL looks like this:
Let's have a look at the individual parts:
And here follows a full URL with all the bells and whistles one could ask for:
We won't go into the details, though, as this is better suited for an advanced tutorial. The 3 lines are just for space reasons, think of it as one long link.
All that's left now is something to turn those domain names into IP numbers. This is where the DNS (domain name system) kicks in. The DNS works similar to a phone book. For example if you want to know the IP number of tagbytag.org the DNS can be used to tell you it's 69.65.104.19.
Instead of phone books we have computers, so-called name servers or DNS servers, that respond to DNS queries.
For most home users this DNS server is provided by their ISP. If your ISP's DNS server doesn't have the domain name / IP you're looking for it will ask other DNS servers on the internet until it succeeds or fails (such as when you entered a non-existent domain name).