Mondoze Knowledge Base

Search our articles or browse by category below

Sub-Domain

Last modified: October 8, 2022
You are here:
Estimated reading time: 1 min

What is Sub-Domain?

sliver arrow

In the Domain Name Server (DNS) hierarchy, a subdomain is a domain that is part of a larger domain name. DNS hierarchy comprises of the top root-level domain, the top-level below followed by second-level domains, and lastly 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 specific subdomain label is limited to 63 characters, but there is an arbitrary amount of subdomain labels in domain name.

Structure

Sub-Domain is divided by dots.” “and read in descending specificities from left to right. Each subdomain includes all prior subdomains and any subdomains that follow. All subdomains are contained by the second-level domain, which is in turn contained by its top-level domain.

In this example the top-level domain is ‘tld’ and the second-level domain is ‘domain’. The Sub-Domain is enclosed within the ‘ domain ‘ in 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 click to learn more about Subdomains.

Click here to check out the next article about the difference between a sub domain.

Was this article helpful?
Dislike 0
Views: 56