Jump to content

Subdomain

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Cybercobra (talk | contribs) at 04:51, 10 July 2010 (WP:LAYOUT). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In the Domain Name System (DNS) hierarchy, a subdomain is a domain that is part of a larger domain.[1]

Overview

The Domain Name System (DNS) has a tree structure or hierarchy, with each node on the tree being a domain name. A subdomain is a domain that is part of a larger domain, the only domain that isn't also a subdomain is the root domain.[1] For example, mail.example.com and calendar.example.com are subdomains of the example.com domain, which in turn is a subdomain of the com top-level domain (TLD).

A "subdomain" expresses relative dependence, not absolute dependence: for example, wikipedia.org comprises a subdomain of the org domain, and en.wikipedia.org comprises a subdomain of the domain wikipedia.org. In theory, this subdivision can go down to 127 levels deep, and each DNS label can contain up to 63 characters, as long as the whole domain name does not exceed a total length of 255 characters. But in practice some domain registries have shorter limits than that.

Uses

Subdomains are commonly used by organizations that wish to assign a unique name to a particular department, function, or service related to the organization. For example, a university might assign "cs" to the computer science department, such that a number of hosts could be used inside that subdomain, such as mail.cs.example.edu or www.cs.example.edu.

Vanity domain

A subdomain is sometimes termed a vanity domain, and can be a subdomain of an ISP's own domain aliased to an individual user account or expresses the individuality of the person on whose behalf it is registered.

Server cluster

Depending on application, a record inside a domain, or subdomain might refer to a hostname, or a service provided by a number of machines in a cluster. Some websites use different subdomains to point to different server clusters. For example, www.example.com points to Server Cluster 1 or Datacentre 1, and www2.example.com points to Server Cluster 2 or Datacentre 2, etc.

See also

References

  1. ^ a b P. Mockapetris (1987). "Name space specifications and terminology". Domain names - concepts and facilities. IETF. sec. 3.1. doi:10.17487/RFC1034. RFC 1034. Retrieved 2008-08-03. {{citation}}: Unknown parameter |month= ignored (help)