tldlist.us/Public suffix vs TLD

.co.uk

Public suffix vs TLD — why .co.uk is not a TLD

Domain parsing and security boundaries · Updated

The boundary

In www.example.co.uk, uk is the TLD, co.uk is the public suffix, example.co.uk is the registrable domain, and www is a subdomain. A TLD is always the final DNS label; a public suffix may contain one label or several and marks a boundary beneath which independent users can register names.

Four terms that describe different layers

A domain name is read from right to left in the DNS hierarchy. The root sits above the final visible label. Immediately below the root is the top-level domain, such as .com or .uk. A registry can then organize registrations directly under that TLD or create categories below it.

A public suffix is a suffix under which different parties can register names, now or historically. The Public Suffix List gives examples including com, co.uk and the longer pvt.k12.ma.us. The suffix is an administrative boundary, not a synonym for “the last part after a dot.”

Domain anatomy by example

HostnameTLDPublic suffixRegistrable domainSubdomain
shop.example.comcomcomexample.comshop
www.example.co.ukukco.ukexample.co.ukwww
docs.project.ioioioproject.iodocs
a.school.pvt.k12.ma.ususpvt.k12.ma.usschool.pvt.k12.ma.usa

Examples show parsing structure, not ownership or live-site claims.

Why browsers and applications need a list

There is no reliable rule such as “the registrable domain is always the last two labels.” That happens to work for example.com and fails for example.co.uk. Counting labels also fails because registry structures differ across countries and hosted platforms.

The Public Suffix List exists because software needs the real boundary. Browsers use it to prevent a site from setting a cookie on a shared suffix such as co.uk, which would otherwise expose that cookie to unrelated sites. Certificate authorities and infrastructure providers use public-suffix information for policy, rate-limit and account-boundary decisions. The project's technical explanation describes the original supercookie problem and current uses.

Registrable domain is often called eTLD+1

Technical documentation sometimes calls the public suffix an “effective TLD” (eTLD) and the registrable domain “eTLD+1.” The wording is convenient but can confuse people into thinking co.uk is literally a top-level domain. It is not: .uk is the TLD; “effective” means the suffix behaves as a registration boundary for that calculation.

IANA root zone vs Public Suffix List

QuestionIANA Root Zone DatabasePublic Suffix List
What does it list?Delegated top-level domains and their managersKnown registration or administrative suffix boundaries
Can entries contain dots?No visible TLD label contains another dotYes; multi-label rules are common
AuthorityIANA root-zone managementCommunity resource initiated by Mozilla
Main useDNS delegation and TLD referenceCookies, domain parsing, policy and site boundaries
Private platform entries?NoYes, in a separately marked private section

Implementation guidance for developers

Do not split a hostname on dots and take the last two elements. Use a maintained public-suffix library for the language or platform, preserve Internationalized Domain Name normalization, and update the list on the cadence recommended by the provider. The PSL publishes a current UTF-8 list and says downstream downloaders should fetch it no more than once per day; applications that ship releases can bundle a version and update with the software.

For validating whether the final label is actually delegated, use the valid TLD list or IANA data. For registration boundaries, use the PSL. The two checks answer different questions.

Does a public suffix change SEO?

Public-suffix status is not a ranking boost. It can affect how tools group sites, how cookies are scoped and whether a platform treats tenants as separate security boundaries. Search engines make their own indexing and site-understanding decisions. Use one canonical host, link consistently and avoid creating duplicate copies across subdomains; do not use eTLD+1 as an SEO rule by itself.

Frequently asked questions

Is .co.uk a top-level domain?
No. .uk is the TLD. co.uk is a public suffix beneath it, and example.co.uk is a registrable domain.
What is a registrable domain?
Normally the public suffix plus one label. In www.example.co.uk, the suffix is co.uk and the registrable domain is example.co.uk.
Why not take the last two labels?
Suffixes have different depths. That shortcut works for example.com, fails for example.co.uk and fails again for longer suffix rules. Use a PSL-aware library.
Is the PSL the IANA TLD list?
No. IANA lists top-level delegations. The PSL lists registration and administrative boundaries beneath TLDs too, including an ICANN section and a private section.