Parts of a domain name: labels, extensions and how DNS works

The parts of a domain name, from subdomain to second-level domain and TLD, what DNS and name servers do, and what you hold when you register a name.

Short answer

A domain name is read from right to left: the top-level domain such as .com, then the second-level label you register, then any subdomains you add. DNS turns the name into the addresses of your website and email, using the name servers the domain lists.

Beginner6 min readLast checked Lesson 1 of 6

Every lesson in this academy assumes you know what a domain name is made of and what happens when someone types one into a browser. This lesson covers the mechanics in plain terms. You won't need to configure a server, but you will need to know which part of a name you're buying and who controls it.

The labels: subdomain, second-level and top-level#

A domain name is a series of labels separated by dots. Read it from right to left, from the most general part to the most specific.

Take shop.example.com:

LabelNameWho controls it
comTop-level domain (TLD)The registry that runs .com
exampleSecond-level domain (SLD)Whoever registered example.com
shopSubdomainAlso whoever registered example.com

The top-level domain is the last label: .com, .org, .uk, .shop and so on. Each one is run by a registry operator. IANA's Root Zone Database lists every TLD with the organisation that manages it (IANA, checked 29 November 2026).

The second-level domain is the label just to the left of the TLD. It's the part you register, and the part investors buy and sell. When people say "the name", this is usually what they mean, together with its TLD.

A subdomain is any label added to the left of a registered name, such as shop.example.com or mail.example.com. Whoever holds the registered name can create as many as they like, at no extra cost. You can't buy a subdomain on someone else's name from a registrar. It belongs to them.

Some country extensions add a layer, such as .co.uk. For names registered under a layer like that, the part you register sits one label further left.

What is DNS? The short version#

Computers find each other by numeric addresses, not names. The Domain Name System (DNS) is the internet's lookup service that turns a name into those addresses. When you type a name, your device asks a resolver, which asks the root servers where to find the TLD, then asks the TLD's servers where to find the domain, then asks the domain's own servers for the record it needs: the address of the website, the server that receives email, and so on. The answer is cached for a while so the next lookup is quicker.

Name servers, and pointing a name#

A name server is a server that answers DNS questions for a domain. Every registered name lists its name servers with the registry. Those name servers hold the domain's records: where the website lives, where email goes, and other settings.

"Pointing" a name means changing which name servers it uses, or changing the records on them. Investors point names in a few common ways:

  • To a for-sale page, so visitors see that the name is available and how to buy it.
  • To a parking service, which shows ads and sometimes a for-sale notice.
  • To a website, if the name is being used or developed.

Changing name servers can take a while to take effect everywhere, because resolvers keep cached answers until they expire. Changes usually spread within hours, but plan for delays.

What registration gives you#

When you register a name, you get a renewable right to use it for the registration term, under the terms of the registry that runs the TLD and the registrar you registered through. You don't own the name the way you own a car. You hold the registration as long as you renew it and follow those terms.

Three practical consequences follow:

  • Renewal is essential. If a registration expires and isn't renewed, it goes through a recovery period and can eventually be deleted and released for anyone to register. ICANN's Expired Registration Recovery Policy sets minimum rules for generic domains, including a 30-day Redemption Grace Period that gTLD registries must offer, except sponsored gTLDs (ICANN ERRP, checked 29 November 2026). Lesson 35 covers the expiration lifecycle.
  • Terms matter. Registry and registrar agreements set what you may do, how disputes are handled and what happens if you break the rules.
  • Disputes can move a name. If a name infringes someone's trademark, a dispute process can transfer it away from you, whatever you paid for it.

Where the registration record lives#

Two organisations hold records about every registered name.

  • The registry keeps the authoritative database for its TLD: which names exist, which registrar manages each one, the key dates, the name servers and the name's status codes.
  • The registrar keeps your account details, your contact information and your payment records, and passes changes to the registry for you.

You can look up the public part of a record with RDAP (the successor to WHOIS). For generic TLDs, registries and registrars must offer RDAP, and since 28 January 2025 most of them no longer have to run WHOIS (ICANN, checked 29 November 2026). A lookup shows dates, the registrar, name servers and status codes such as "ok" or "clientTransferProhibited", which ICANN lists and explains on its EPP status codes page (ICANN, checked 29 November 2026). Most personal contact details are hidden. Lesson 12 explains reading registration data.

Why investors care: control sits in your registrar account#

For an investor, the most important fact in this lesson is simple: whoever controls your registrar account controls your names. From that account, someone can change name servers, unlock names, get transfer codes and move names to another registrar.

That's why account security matters so much:

  • Use a strong, unique password and two-step sign-in on every registrar account.
  • Secure the email address your registrar account uses, because password resets go there.
  • Keep your contact details current, so renewal notices and transfer alerts reach you.
  • Keep names locked against transfers unless you're moving them.

The money, records and security path covers account protection in detail.

Common mistakes#

  • Thinking a subdomain is a separate asset. It belongs to whoever holds the registered name.
  • Letting a registration lapse by accident. Expired cards and old email addresses are the usual causes. Turn on auto-renew for names you want to keep, and keep your details current.
  • Weak account security. One stolen password can mean every name in the account is gone.

Questions people ask#

Do I own my domain name? You hold a renewable right to use it under the registry's and registrar's terms. As long as you renew and follow those terms, the registration stays with you.

What's the difference between a domain name and a website? The domain name is the address. The website is content hosted on a server. You can hold a name without a website, and move a website to a different name.

What is a TLD? The last label of a domain name, such as .com or .uk. Lesson 7 covers the types of TLDs.

Can I register just a subdomain? Not from a registrar. Subdomains are created by whoever holds the registered name.

Next steps#

Sources

  1. Root Zone Database, IANA. Checked 29 Nov 2026.
  2. Registration Data Access Protocol (RDAP), ICANN. Checked 29 Nov 2026.
  3. Expired Registration Recovery Policy, ICANN. Checked 29 Nov 2026.
  4. EPP status codes, ICANN. Checked 29 Nov 2026.

Terms in this lesson

Report an error in this lesson