TLD vs Domain vs Subdomain: What Actually Differs
· Basics · DNS
Quick answer
What is the difference between a TLD, a domain and a subdomain?
A TLD is the rightmost label of the DNS hierarchy, such as .com or .de. A domain is a name registered under a TLD, such as example.com. A subdomain is a label you create underneath a domain you already control, such as tools.example.com — it needs no separate registration and does not appear in the IANA root zone.
Read a name from right to left
In tools.example.com, the rightmost label "com" is the top-level domain, "example" is the second-level name that was registered, and "tools" is a subdomain. The dot is the separator, and the hierarchy narrows as you move left.
This is why a subdomain is not a TLD and cannot be bought from a registry: it is a record inside a zone you already control.
Who controls which part
The registry operates a TLD and publishes its rules. A registrar sells registrations under it. Once you register a domain, you control its DNS zone and can create subdomains freely. That split is the reason "registry vs registrar" is a separate question from "which extension should I buy".
- TLD: delegated in the root zone, managed by a registry, listed by IANA.
- Registered domain: the name you pay a registrar to hold for a term.
- Subdomain: a record you create in your own zone; free and unlimited in principle.
Why the distinction matters in practice
Price comparisons apply to registered domains, not subdomains. Geotargeting guidance applies mostly to the TLD and your URL structure. And cookies, certificates and search-engine property verification all behave differently depending on which level you set them at.
Frequently asked questions
Is "www" a TLD?
No. It is a conventional subdomain label under a registered domain. It appears in DNS records for that domain, not in the IANA root zone.
Can I register a subdomain?
Not from a domain registrar. You create subdomains in the DNS zone of a domain you already control. Services that "give" you a subdomain are letting you use a name inside their own domain.
Is a country-code second-level suffix (like .co.uk) a TLD?
The delegated TLD is .uk. Suffixes such as .co.uk are registry-defined second-level labels under it, governed by that registry’s rules rather than listed separately in the root zone.
Sources
Primary sources for the claims above.