Sub Domain

In the Domain Name Server (DNS) hierarchy, a subdomain is a domain that is part of a larger domain name. A DNS hierarchy consists of the root-level domain at the top, underneath which are the top-level domains, followed by second-level domains and finally subdomains.
 
Valid subdomains as described by RFC 1034 may contain any letter or number as well as the '-' (hyphen), but must begin with an alphabet character. While both upper and lower case characters are valid, subdomains are case insensitive so 'ABC.com' is identical to 'abc.COM'.
 
Length of sub domain
The length of a particular subdomain label is restricted to 63 characters, but the number of subdomain labels in a domain name is arbitrary.
Structure
Subdomains are separated by dots "." and are read from left to right, in descending specificity. Each consecutive subdomain contains all previous subdomains, and is contained by any subsequent subdomains. All subdomains are contained by the second-level domain, which is in turn contained by its top level domain.
 
Example:
subCBA.subBA.subA.domain.tld

In this example the top level domain is 'tld' and the second level domain is 'domain'. Within 'domain' the subdomains are contained in a tree structure.
Popular real-life examples would be news.google.com, mail.yahoo.com and en.wikipedia.org, in which news, mail and en are subdomains, respectively.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Spoofing Attack

A spoofing attack, in computer security terms, refers to a situation in which one person or...

Search Engine

Internet search engines are special sites on the Web that are designed to help people find...

SSL (Secure Sockets Layer)

The SSL (Secure Sockets Layer) is a commonly-used protocol for managing the security of a message...

S-HTTP (Secure HTTP)

S-HTTP (Secure HTTP) is an extension to the Hypertext Transfer Protocol (HTTP) that allows the...

Shell

Better known as command shell, it is the command processor interface. The command processor is...