Skip to the content
Start free

ccTLD (country code top-level domain)

A ccTLD (country code top-level domain) is the 2-letter ending of a web address that stands for a country or territory, such as .uk for the United Kingdom, .de for Germany or .fr for France. It is the last part of the domain name, after the final dot. Search engines and people both read it as a sign of which country a site is for.

What is a ccTLD? #

Every domain name ends in a top-level domain. Some are generic, like .com, .org or .shop. Others belong to a country. The country ones are ccTLDs.

The rule for which codes exist is old. RFC 1591, written by Jon Postel in March 1994, says most top-level domains are 2-letter country codes taken from the ISO 3166 standard. It also says plainly that the IANA “is not in the business of deciding what is and what is not a country”. The list comes from ISO, not from the people who run the DNS.

Each ccTLD has its own manager. The IANA entry for .uk lists it as a country-code top-level domain run by Nominet UK, based in Oxford. Under .uk sit familiar second-level endings such as .co.uk and .org.uk, as well as plain .uk addresses.

A ccTLD is one of the clearest signals of who a site is for. Google’s guide to managing multi-regional and multilingual sites calls a country-specific domain a strong signal to users and search engines that the site targets one country. It lists the trade-offs next to the other choices:

Structure Example Good Less good
ccTLD example.de Clear country signal, server location does not matter, easy to keep sites apart Costs more, may not be free to register, some countries set strict rules, 1 country only
Subdomain de.example.com Easy to set up, servers can sit anywhere People may not know if “de” means a language or a country
Subdirectory example.com/de/ Easy to set up, low upkeep, one site Country less obvious to people, harder to split later
URL parameter example.com?loc=de None worth having Google says not recommended

The same guide lists other signals too: hreflang in tags, headers or sitemaps, and server location, which Google treats as a hint rather than proof. It warns against changing content by guessing a visitor’s country from their IP address, since that guess is unreliable.

Is every 2-letter ending a country signal? #

No. Google treats some ccTLDs as generic, because people use them that way. Its guide names .co and .io among them. Both are still country codes on paper: the IANA root zone database lists .co as the country code for Colombia, and the IANA entry for .io lists it as a country-code domain too. Google says its list of generic-treated codes can change over time, so check the current guide before you choose.

Why does it matter for AI answers? #

AI assistants often answer local questions: “where can I buy this in the UK?” or “which firm near Leeds does this?”. The assistant has to decide which pages are relevant to the person asking. A .co.uk address, a UK phone number, prices in pounds and a UK address on the page all point the same way. When these agree, a large language model has less room to guess. When a .com site shows dollar prices to UK readers, the mixed signals can lead to wrong answers. This is part of international SEO and answer engine optimisation alike.

How does it work? #

  1. The ISO 3166 list says which 2-letter codes stand for which places.
  2. IANA delegates each code to a manager, such as Nominet for .uk.
  3. The manager sets the rules: who may register, how, and at what price through its registrars.
  4. Search engines read the ending as a country hint, except for the codes they treat as generic.

Common mistakes #

  • Thinking a ccTLD alone ranks you abroad. A .de domain with English text and pound prices sends mixed signals.
  • Buying many ccTLDs and copying content. 10 near-identical country sites can create duplicate content problems. Use hreflang and real local versions.
  • Picking a trendy code without checking. Some short codes look generic but are still tied to a country and its rules.
  • Ignoring local rules. Google notes some countries limit who can register their ccTLD.
  • Moving domains carelessly. Switching from .com to .co.uk is a full site move. Plan the redirects first.

A worked example #

A UK bakery supplies only UK customers. It owns both a .co.uk and a .com. The .co.uk is the main site, and the .com sends a 301 redirect to it, so there is one version of each page. Prices are in pounds and the address is in Bristol.

A year later it opens a shop in Dublin. It has 2 sensible options. It can register a .ie and build an Irish site with euro prices, linked to the UK one with hreflang tags. Or it can add an /ie/ folder on the .co.uk. The first gives the clearest Irish signal but means 2 sites to keep up. The second is cheaper but carries a UK ending for Irish buyers. Either way, the key is that every page says clearly which country it serves.

How to check it #

Questions #

Is .co.uk better than .com for a UK business? #

For a business that only serves the UK, a .uk ending sends a clearer country signal. A .com can still rank well in the UK if the content is clearly local.

Is .uk the same as .co.uk? #

Both sit under the .uk ccTLD that Nominet runs. They are separate names, so owning one does not give you the other.

Does server location still matter? #

Google calls it a contributing signal, not a decisive one. With a ccTLD, Google says server location does not matter.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: ccTLD (country code top-level domain). URSY. Updated 26 November 2026. https://ursy.com/wiki/cctld-country-code-top-level-domain/ · Section links

Tools for this

All 871 wiki entries, A to Z →