Domain Name

The main purpose of a domain name is to provide symbolic representations, i.e., recognizable names, to mostly numerically addressed Internet resources. This abstraction allows any resource (e.g., website) to be moved to a different physical location in the address topology of the network, globally or locally in an intranet, in effect changing the IP address. This translation from domain names to IP addresses (and vice versa) is accomplished with the global facilities of Domain Name System (DNS).

By allowing the use of unique alphabetical addresses instead of numeric ones, domain names allow Internet users to more easily find and communicate with web sites and any other IP-based communications services. The flexibility of the domain name system allows multiple IP addresses to be assigned to a single domain name, or multiple domain names to be services from a single IP address. This means that one server may have multiple roles (such as hosting multiple independent websites), or that one role can be spread among many servers. One IP address can also be assigned to several servers, as used in anycast networking.

Examples

The following example illustrates the difference between a URL (Uniform Resource Locator) and a domain name:

URL: http://www.example.net/index.html
Domain name: www.example.net
Registered domain name: example.net

As a general rule, the IP address and the server name are interchangeable. For most Internet services, the server will not have any way to know which was used. However, the explosion of interest in the Web means that there are far more Web sites than servers. To accommodate this, the hypertext transfer protocol (HTTP) specifies that the client tells the server which name is being used. This way, one server with one IP address can provide different sites for different domain names. This feature goes under the name virtual hosting and is commonly used by web hosts.

For example, as referenced in RFC 2606 (Reserved Top Level DNS Names), the server at IP address 208.77.188.166 handles all of the following sites:

example.com
www.example.com
example.net
www.example.net
example.org
www.example.org

When a request is made, the data corresponding to the hostname requested is provided to the user.
 

Extreme Edsense Money | Make Money Online