Link Graph Encyclopedia

Foundations

Reversed domain names and public suffixes

Why web graphs write google.com as com.google, and how the Public Suffix List decides where a registrable domain begins.

Common Crawl’s vertex files list com.google, com.facebook and uk.co.bbc, not google.com. Writing host names with their labels reversed is a small trick with large consequences: sorted alphabetically, reversed names keep the hosts of a domain, and the domains of a top-level domain, close together. Graph compression, range queries and prefix grouping all depend on that locality. The second half of the story is deciding where the domain part of a name ends, which takes a list, not a rule.

Reversing labels

A host name is a sequence of labels separated by dots, most specific first: blog.example.co.uk. Reversing the labels gives uk.co.example.blog, most general first, like a file path. Sorting reversed names produces a hierarchy:

com.example
com.example.blog
com.example.shop
com.examples
uk.co.example
uk.co.example.blog

All of example.com’s hosts form one run, and all .uk names come after all .com names. The run is not quite watertight: in byte order - sorts before ., so com.example-shop lands between com.example and com.example.blog. Sorting the forward names instead would scatter them: blog.example.com sorts among the b’s and shop.example.com among the s’s.

The convention is old. Java package names (org.apache.commons) use it, and web archives sort their indexes by SURT, the Sort-friendly URI Reordering Transform, which writes http://www.example.com/a as com,example,www)/a. Common Crawl’s own URL index uses SURT keys.

Why graphs care

Web graph tools number nodes in sorted order. With reversed names, the numbers of related hosts sit close together:

Public suffixes

Where does the registrable domain begin? For www.example.com it is example.com, the last two labels. For www.example.co.uk it is example.co.uk, the last three, because co.uk is a suffix under which anyone can register names. No rule computes this from the name. The Public Suffix List (PSL), a Mozilla initiative since 2007 maintained by volunteers, lists such suffixes: com, co.uk, ac.jp, pvt.k12.ma.us and thousands more. The registrable domain, also called eTLD+1, is the public suffix plus one more label.

The list has two sections:

Whether a graph honours the private section changes its nodes. Common Crawl’s 2026 domain graph does not: github.io is one domain with 310,784 hosts and blogspot.com one domain with 4,113,910 hosts, though the PSL’s private section lists both as public suffixes. Each GitHub Pages site or Blogspot blog is a separate site to its owner and a separate registrable domain to a browser, but a single node in this graph. The page, host and domain graphs entry discusses what that merging does to rankings.

Names in the Common Crawl graph

The 2026 domain graph spans 1,520 top-level domains and 7,482 distinct public suffixes. Its largest suffix groups:

Suffix Domains
.com 59,819,443
.org 6,634,711
.de 5,022,175
.net 3,751,749
.co.uk 2,691,012

Half of all domains are .com. Internationalised names appear in their ASCII-compatible xn-- form (594,228 domains), about one domain in seven contains a hyphen, and one in eight a digit.

Pitfalls

References

Edit this entry on GitHub