Exit tutorial


HTML Tutorial
Web Design - Site Management
Web Servers - Name Servers

Because most people have trouble remembering the strings of numbers that make up IP addresses, and because IP addresses sometimes need to change, all servers on the Internet also have human-readable names, called domain names. For example, http://www.mysite.com/ is a permanent, human-readable name. It is easier for most of us to remember http://www.mysite.com/ than it is to remember 209.116.69.66.

The name www.mysite.com actually has three parts:

  1. The host name ("www")
  2. The domain name ("mysite")
  3. The top-level domain name ("com")
Domain names are managed by a company called VeriSign. VeriSign creates the top-level domain names and guarantees that all names within a top-level domain are unique. VeriSign also maintains contact information for each site and runs the "whois" database. The host name is created by the company hosting the domain. "www" is a very common host name, but many places now either omit it or replace it with a different host name that indicates a specific area of the site. For example, in encarta.msn.com, the domain name for Microsoft's Encarta encyclopedia, "encarta" is designated as the host name instead of "www."

The whois Command
On a UNIX machine, you can use the whois command to look up information about a domain name. You can do the same thing using the whois form at VeriSign. If you type in a domain name, like "mysite.com," it will return to you the registration information for that domain, including its IP address.
A set of servers called domain name servers (DNS) maps the human-readable names to the IP addresses. These servers are simple databases that map names to IP addresses, and they are distributed all over the Internet. Most individual companies, ISPs and universities maintain small name servers to map host names to IP addresses. There are also central name servers that use data supplied by VeriSign to map domain names to IP addresses.

If you type the URL "http://www.mysite.com/web-server.htm" into your browser, your browser extracts the name "www.mysite.com," passes it to a domain name server, and the domain name server returns the correct IP address for www.mysite.com. A number of name servers may be involved to get the right IP address. For example, in the case of www.mysite.com, the name server for the "com" top-level domain will know the IP address for the name server that knows host names, and a separate query to that name server, operated by the www.mysite.com ISP, may deliver the actual IP address for the www.mysite.com server machine.

On a UNIX machine, you can access the same service using the nslookup command. Simply type a name like "www.mysite.com" into the command line, and the command will query the name servers and deliver the corresponding IP address to you.

So here it is: The Internet is made up of millions of machines, each with a unique IP address. Many of these machines are server machines, meaning that they provide services to other machines on the Internet. You have heard of many of these servers: e-mail servers, Web servers, FTP servers, Gopher servers and Telnet servers, to name a few. All of these are provided by server machines.

[Back to the Stage 7 Index]