What Is the Correct DNS Naming Sequence?

The correct sequence according to the Domain Name System (DNS) naming convention is:

  1. Top-Level Domain (TLD): Examples include .com, .org, .net, and .gov.
  2. Second-Level Domain (SLD): Identifies the specific entity or website.
  3. Subdomain: Optional; divides the domain further, such as www, mail, or blog.

The sequence is: Subdomain (optional) . Second-Level Domain . Top-Level Domain

Example: www.example.com — "www" is the subdomain, "example" is the SLD, and ".com" is the TLD.