Parts of a Domain Name

One name on example.com taken apart, then its tree, a whole web address and the kinds of ending.

Tap any part

4 5 6 8 7 2 3 1 9 10 14 15 13 12 11 16 17 18 19 20 21 22 23 24 26 25 27 28
More options

Each numbered ring is a button. Use the arrow keys to move between them and Enter to choose. Names are read out in Study, and once a part is answered.

All 28 parts on the diagram

One full name 8

  1. Fully qualified domain name (FQDN) Every label written, up to the root.
  2. Registered domain name Second level and ending together: what a person registers.
  3. Root dot The root has an empty label, so only its dot shows.
  4. Top-level domain (TLD) The last word of the name. It hangs right under the root.
  5. Second-level domain (SLD) Directly left of the ending. The owner picks this word.
  6. Subdomain A name below another. This word makes a third-level domain.
  7. Dot It parts two labels and belongs to neither.
  8. Host name The first label. Many use the word for the whole name.

The tree it hangs on 7

  1. Root of the tree Every name ends here. It is the only empty label.
  2. Node One place in the tree. Its label has 63 characters at most.
  3. Zone cut (delegation) Below it starts a child zone, handed to other name servers.
  4. Zone The piece of a domain that is run as one unit.
  5. Domain A node and everything below it.
  6. Sibling nodes Children of one parent. No two of them may share a label.
  7. Leaf node Nothing hangs below it.

Inside a web address 8

  1. Scheme (protocol) It says which protocol is used: http, https.
  2. Colon and two slashes The colon ends the scheme; two slashes open the authority.
  3. Host (domain name) The domain name, or a number address in its place.
  4. Port Left out, the default port of the scheme is used.
  5. Authority Host and port together, from the slashes to the path.
  6. Path Which thing on the host is meant, step by step.
  7. Query Extra data, most often name=value pairs.
  8. Fragment (anchor) A place inside the page, such as a heading.

Kinds of ending 5

  1. Generic top-level domain (gTLD) Not bound to a country. Most endings are of this kind.
  2. Sponsored top-level domain A sponsor limits who may register. IANA counts these as generic.
  3. Country-code top-level domain (ccTLD) Two letters for one country or territory.
  4. Infrastructure top-level domain Only .arpa. It serves the network itself, not websites.
  5. Reserved top-level domain Kept for tests and examples. It is not in the root.

How this list was compiled: Read on November 30, 2026, in our own words: RFC 1034 and RFC 1035 (domain names), RFC 9499 (DNS terms), RFC 2606 (names kept for examples) and RFC 3986 (web addresses), all at https://www.rfc-editor.org/ ; the list of endings, https://data.iana.org/TLD/tlds-alpha-by-domain.txt, and the Root Zone Database, https://www.iana.org/domains/root/db ; Wikipedia: Domain name, Second-level domain, Subdomain, Top-level domain, Fully qualified domain name, URL.

The drawing: Drawn for this site on November 30, 2026: own work. The letters are outlines of the typeface Noto Sans Mono Bold (SIL Open Font License 1.1).

How it works

A domain name is a row of labels with dots between them. Read it from right to left: ending, name, subdomain, host. In www.shop.example.com the ending is com, and example.com is the part that is registered.

Read the full guide

From right to left

The root stands at the far right and has no name. Then com, the top-level domain. Then example, the second-level domain. Every label further left is a subdomain of what stands to its right. www is only a label by custom: the same site may answer without it.

Parts of a URL explained

Scheme, then ://, then the host, which is the domain name. A port may follow. The path says which page, the query adds data after a question mark, the fragment jumps to a place in the page after #.

  • Read from the right: example.com.example.net lies under example.net, not under example.com.

Questions and answers

What are the three parts of a domain name?

Top-level domain, second-level domain and subdomain. In www.example.com they are com, example and www. The dots between them belong to no part.

Is www part of the domain name?

Yes, where it is written. It is a label below example.com, so www.example.com is a subdomain. It is not part of the registered name.

What is the difference between a domain name and a URL?

A domain name names a place on the internet: example.com. A URL is a whole address with a scheme and a path, such as https://example.com/hats. The domain name is its host.

How long can a domain name be?

Each label has at most 63 characters and the whole name at most 253, the last dot not counted. Capitals make no difference.

How is .com different from .jp?

The ending .com is generic and belongs to no country. The ending .jp is a country code of two letters.