Monday, February 4, 2008

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 192.0.34.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 served to the user.

1 comment:

Shawn Long'blog said...

wowgold.pigecn.com has huge quantity of wow gold and very cheap wow gold for sale!Cheap wow gold are sell at all servers!buy Cheap wow gold,also called world of warcraft gold or wow gold,is on sale at our online store. We offer a range of services for your World of Warcraft character. We are selling World of Warcraft Gold and doing power leveling for you at an unimaginable price. Cheap wow gold is on hot sale on all servers, especially on American servers. You can buy cheap wow gold and power leveling from us, a professional, loyal and reliable wow gold exchange corporation and power leveling work group. Buy cheap wow gold here, and then enjoy your excited wow life!