---
title: "What is a top-level domain (TLD)?"
description: "A top-level domain (TLD) is the last part of a domain name, like .com or .uk. Only country codes send Google a country signal. How to check your set-up."
url: https://ursy.com/wiki/top-level-domain/
updated: 2026-11-26T15:41:52+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/top-level-domain/
---

# What is a top-level domain (TLD)?

> A top-level domain (TLD) is the last part of a domain name, like .com or .uk. Only country codes send Google a country signal. How to check your set-up.

**A top-level domain (TLD) is the last part of a domain name, after the final dot, such as .com, .org or .uk.** It sits directly under the root of the Domain Name System. For most sites the choice of TLD makes little difference to rankings. The big exception is a country-code TLD such as .uk or .de, which tells [Google](https://ursy.com/wiki/google/) the site is meant for one country.

## What is a top-level domain? {#what-is-a-top-level-domain}

DNS is a tree. RFC 1034, the standard that defines it, says the name space is [a tree structure](https://www.rfc-editor.org/rfc/rfc1034) and that all domain names end at the root. The TLD is the first branch below that root. In shop.example.co.uk, the TLD is .uk, the next label is co, then example, then shop. Each label can be up to 63 octets long. See [DNS](https://ursy.com/wiki/dns/), [domain name](https://ursy.com/wiki/domain-name/) and [URL](https://ursy.com/wiki/url/).

## What kinds of TLD are there? {#what-types-of-tld-are-there}

IANA keeps the official list of every TLD in its [Root Zone Database](https://www.iana.org/domains/root/db), which sorts them by type:

| Type | Example | What it is for |
| --- | --- | --- |
| Generic (gTLD) | .com, .org, .net, .shop | Open or semi-open names, not tied to a country |
| Country code ([ccTLD](https://ursy.com/wiki/cctld-country-code-top-level-domain/)) | .uk, .de, .fr | One country or territory. IANA lists [Nominet UK as the manager of .uk](https://www.iana.org/domains/root/db/uk.html) |
| Special use | .arpa | Internet infrastructure |
| Reserved for testing | .test, .example, .invalid, .localhost | Never for live sites. Set aside by [RFC 2606](https://www.rfc-editor.org/rfc/rfc2606) in 1999 |

RFC 1591, written in March 1994, named the first generic TLDs (COM, EDU, NET, ORG, INT, GOV, MIL) and said country codes come from the [ISO 3166 list](https://www.rfc-editor.org/rfc/rfc1591). It also said new TLDs were “extremely unlikely”. Many have been added since, and IANA’s database lists them all. A large batch came from ICANN’s New gTLD Program. Its [programme page](https://newgtlds.icann.org/en/about/program) says the application window opened on 12 January 2012, ICANN received 1,930 applications, and the first new gTLDs were delegated in October 2013.

## Is .co.uk a top-level domain? {#is-co-uk-a-top-level-domain}

No. The TLD is .uk. The “co” part is a second level under it. But people register names under it, such as example.co.uk, so it behaves like a TLD. The [Public Suffix List](https://publicsuffix.org/) exists for exactly this: it lists endings such as com and co.uk where people can register names. Browsers use it to stop one site setting [cookies](https://ursy.com/wiki/cookie/) across every .co.uk site. See [first-party cookies](https://ursy.com/wiki/first-party-cookies/).

Why .uk and not .gb? IANA notes that GB is the ISO 3166-1 code for the United Kingdom, but it lists [.gb as reserved](https://www.iana.org/domains/root/db/gb.html): it “may not be used”. So UK names sit under .uk.

## Who runs TLDs? {#who-runs-tlds}

Three roles do the work. ICANN draws up contracts with each registry, runs accreditation for registrars and, in its own words, [can add new TLDs](https://www.icann.org/resources/pages/what-2012-02-25-en). A registry runs one TLD, such as .uk. A registrar sells names in it to you, the registrant. Your name then points to your servers through [DNS records](https://ursy.com/wiki/dns-records/), and your [SSL certificate](https://ursy.com/wiki/ssl-certificate/) covers it.

## Why does the TLD matter for search? {#why-does-the-tld-matter-for-search}

Less than many people think. Google’s [SEO starter guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide) says the TLD only matters if you target users in one country, and that [keywords](https://ursy.com/wiki/keyword/) in a domain name have hardly any effect. In 2015 Google said it treats [new gTLDs like .com and .org](https://developers.google.com/search/blog/2015/07/googles-handling-of-new-top-level). A keyword in the TLD gives no advantage, and city names such as .london are treated as generic.

Country codes are different. Google’s guide to sites for many countries says a ccTLD gives [a strong signal](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites) that the site is meant for one country. See [international SEO](https://ursy.com/wiki/international-seo/) and [hreflang](https://ursy.com/wiki/hreflang/).

## Which country codes does Google treat as generic? {#which-country-codes-does-google-treat-as-generic}

Some ccTLDs are popular for their look, not their country. Google says it treats some of these vanity ccTLDs as generic. Its [current list](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites) is .ad, .ai, .as, .bz, .cc, .cd, .co, .dj, .fm, .io, .la, .me, .ms, .nu, .sc, .sr, .su, .tv, .tk and .ws, and Google says the list may change. Regional names such as .eu and .asia are also treated as generic. So a .io or .ai site does not target a country. If you need country targeting on a generic ending, use [hreflang](https://ursy.com/wiki/hreflang/) and local content, and see [local SEO](https://ursy.com/wiki/local-seo/).

## ccTLD, subdomain or subfolder? {#cctld-subdomain-or-subfolder}

If you serve several countries, Google compares the options:

| Set-up | Example | Strength | Cost |
| --- | --- | --- | --- |
| Country code TLD | example.de | Clear country signal; server location does not matter | One domain per country, more set-up, local rules on who can register |
| [Subdomain](https://ursy.com/wiki/subdomain/) | de.example.com | Easy to set up and separate | Users may not know if “de” means language or country |
| Subfolder | example.com/de/ | Easy, low maintenance, one host | Country is less clear from the address |

Google does not say one ranks better. Pick the one you can run well for years.

## Why does the TLD matter for AI answers? {#why-does-the-tld-matter-for-ai-answers}

No AI company we know of says it prefers one TLD. What matters is the host. Google’s robots.txt rules [apply only to the host, protocol and port](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) where the file sits, so example.com and example.co.uk each need their own [robots.txt](https://ursy.com/wiki/robots-txt/). OpenAI says sites that block OAI-SearchBot [will not be shown in ChatGPT search answers](https://developers.openai.com/api/docs/bots). If one of your two domains blocks it by accident, that domain drops out. The [llms.txt proposal](https://llmstxt.org/) also places the file per website. See [OAI-SearchBot](https://ursy.com/wiki/oai-searchbot/), [llms.txt](https://ursy.com/wiki/llms-txt/) and [AI crawler](https://ursy.com/wiki/ai-crawler/).

## What happens when you change TLD? {#what-happens-when-you-change-tld}

Google treats a move to a new TLD like any other site move. Its site move guide asks for [permanent redirects](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) from every old URL to its new one, a Change of Address in [Google Search Console](https://ursy.com/wiki/google-search-console/), and redirects kept for at least a year. It says most pages of a medium-sized site can take a few weeks to move. See [move a website without losing traffic](https://ursy.com/wiki/move-a-website-without-losing-traffic/), [301 vs 302 redirect](https://ursy.com/wiki/301-vs-302-redirect/) and [redirect chain](https://ursy.com/wiki/redirect-chain/).

## What are the common mistakes? {#what-are-the-common-mistakes}

- **Two TLDs, both live.**  example.com and example.co.uk both answer with the same pages. That is [duplicate content](https://ursy.com/wiki/duplicate-content/). Pick one and 301 the other, with a [canonical tag](https://ursy.com/wiki/canonical-tag/) on the live pages.
- **Choosing a TLD for a keyword.**  Google says it gives no advantage.
- **Thinking .io or .ai targets a country.**  Google treats both as generic.
- **Letting a domain lapse.**  Someone else can buy it. Google’s spam policies name [expired domain abuse](https://developers.google.com/search/docs/essentials/spam-policies): a lapsed name bought mainly to manipulate rankings. See [expired domain abuse](https://ursy.com/wiki/expired-domain-abuse/).
- **Forgetting email on the second domain.**  A domain that sends no mail still needs [SPF](https://ursy.com/wiki/spf-record/) and [DMARC](https://ursy.com/wiki/dmarc/) records, or it can be spoofed. See [SPF, DKIM and DMARC explained](https://ursy.com/wiki/spf-dkim-dmarc-explained/) and [email deliverability](https://ursy.com/wiki/email-deliverability/).
- **Using a test name on a live site.**  .test and .localhost never work in public.

## A worked example {#a-worked-example}

A UK shop owns three names. Here is a sound set-up:

| Name | What it does | Why |
| --- | --- | --- |
| example.co.uk | The live site, with its own robots.txt, sitemap and llms.txt | Clear UK signal for a UK shop |
| example.com | One 301 to the same path on example.co.uk | Catches people who type .com |
| example.uk | One 301 to example.co.uk; SPF and DMARC set to send no mail | Stops lookalike use |

Every page has one address. Every other name sends people and [bots](https://ursy.com/wiki/bot-web-robot/) there in one hop.

## How to check it {#how-to-check-it}

1. **Split the address.**  The [URL Parser](https://ursy.com/webmaster-tools/url-parser/) shows the TLD, domain and path. The [Domain Name Validator](https://ursy.com/webmaster-tools/domain-name-validator/) checks the name is well formed, and the [Punycode Converter](https://ursy.com/webmaster-tools/punycode-converter/) shows the real form of non-English names.
2. **Check every TLD you own redirects once.**  Run each name in the [Redirect Checker](https://ursy.com/redirect-checker/). One 301 is right. Then read the status in the [HTTP Header Checker](https://ursy.com/http-header-checker/). See [HTTP status code](https://ursy.com/wiki/http-status-code/).
3. **Check robots.txt on each live host.**  Use the [Robots.txt Checker](https://ursy.com/robots-txt-checker/) per host, then the [AI Bot Checker](https://ursy.com/ai-bot-checker/) to see which AI crawlers each one lets in.
4. **Check the files AI reads.**  Run the [llms.txt Checker](https://ursy.com/llms-txt-checker/) and the [XML Sitemap Checker](https://ursy.com/sitemap-checker/) on the live host. The sitemap should list only that host’s URLs. See [XML sitemap](https://ursy.com/wiki/xml-sitemap/).
5. **Check canonicals and markup.**  The [Meta Tag Checker](https://ursy.com/meta-tag-checker/) shows the canonical. The [Schema Markup Checker](https://ursy.com/schema-checker/) shows the url in your Organisation markup, which should use the live TLD.
6. **Check country targeting and certificates.**  The [Hreflang Checker](https://ursy.com/hreflang-checker/) tests the language and country tags on a page. The [SSL Certificate Checker](https://ursy.com/ssl-checker/) confirms each name you own has a valid certificate. [Hreflang audit](https://ursy.com/pro/hreflang-audit/) checks the whole site (in URSY Pro, opening in stages).
7. **Look for lookalikes.**  The [Lookalike Domain Checker](https://ursy.com/webmaster-tools/lookalike-domain-checker/) lists names close to yours. Use the [DMARC Record Generator](https://ursy.com/webmaster-tools/dmarc-record-generator/) and the [SPF Record Explainer](https://ursy.com/webmaster-tools/spf-record-explainer/) for names that send no mail.
8. **Compare your two TLDs.**  [Compare Two Websites](https://ursy.com/compare-websites/) shows whether example.com and example.co.uk give the same answers.
9. **Check who really crawls.**  [Verify an AI Bot](https://ursy.com/verify-ai-bot/) tests an address against the published lists.
10. **Plan a TLD move.**  The [Migration redirect mapper](https://ursy.com/pro/migration-redirect-mapper/) builds the old-to-new 301 map, and the [Redirect monitor](https://ursy.com/pro/redirect-monitor/) watches it (in URSY Pro, opening in stages).

## What URSY.com counts {#what-ursy-counts}

We count every request your site answers, from the edge log and the origin, and sort it into five visitor types. Each request’s country comes from the [CDN](https://ursy.com/wiki/cdn/)’s location of the address, which we rate medium-high confidence. So you can see whether a .co.uk site really draws UK visitors and UK-facing bots. The rules are on our [methodology](https://ursy.com/methodology/) page.

## Questions {#questions}

### Does .com rank better than .co.uk? {#does-com-rank-better-than-co-uk}

Google gives no general boost to .com. A .co.uk sends a UK signal, which helps a UK business and limits a global one.

### Is .ai a country domain? {#is-ai-a-country-domain}

IANA lists .ai as a [country-code TLD managed by the Government of Anguilla](https://www.iana.org/domains/root/db/ai.html), but Google treats .ai as generic. It does not target a country in Google Search.

### Do new TLDs like .shop hurt rankings? {#do-new-tlds-like-shop-hurt-rankings}

Google says it treats new gTLDs like .com. Choose an ending your customers will recognise and remember.

### Is .uk different from .co.uk? {#is-uk-different-from-co-uk}

Both sit under the .uk country code, but they are separate registrations. If you own both, pick one for the site and 301 the other.

### Should I buy my name in every TLD? {#should-i-buy-my-name-in-every-tld}

Buy the ones people are likely to type or abuse, and redirect them. You do not need every ending.

## Related words {#related-words}

- [Domain name](https://ursy.com/wiki/domain-name/)
- [DNS](https://ursy.com/wiki/dns/)
- [DNS records](https://ursy.com/wiki/dns-records/)
- [URL](https://ursy.com/wiki/url/)
- [International SEO](https://ursy.com/wiki/international-seo/)
- [Hreflang](https://ursy.com/wiki/hreflang/)
- [Redirect](https://ursy.com/wiki/redirect/)
- [Expired domain abuse](https://ursy.com/wiki/expired-domain-abuse/)
- [Technical SEO](https://ursy.com/wiki/technical-seo/)

## Sources {#sources}

- [RFC 1034: Domain names, concepts and facilities](https://www.rfc-editor.org/rfc/rfc1034), checked 24 November 2026
- [RFC 1591: Domain Name System structure and delegation (March 1994)](https://www.rfc-editor.org/rfc/rfc1591), checked 24 November 2026
- [RFC 2606: Reserved top level DNS names (June 1999)](https://www.rfc-editor.org/rfc/rfc2606), checked 24 November 2026
- [IANA: Root Zone Database](https://www.iana.org/domains/root/db), checked 24 November 2026
- [IANA: Delegation record for .uk](https://www.iana.org/domains/root/db/uk.html), checked 24 November 2026
- [IANA: Delegation record for .ai](https://www.iana.org/domains/root/db/ai.html), checked 24 November 2026
- [Public Suffix List](https://publicsuffix.org/), checked 24 November 2026
- [IANA: Delegation record for .gb](https://www.iana.org/domains/root/db/gb.html), checked 24 November 2026
- [ICANN: About the New gTLD Program](https://newgtlds.icann.org/en/about/program), checked 24 November 2026
- [ICANN: What does ICANN do?](https://www.icann.org/resources/pages/what-2012-02-25-en), checked 24 November 2026
- [Google Search Central: SEO starter guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide), checked 24 November 2026
- [Google Search Central blog: Google’s handling of new top level domains (21 July 2015)](https://developers.google.com/search/blog/2015/07/googles-handling-of-new-top-level), checked 24 November 2026
- [Google Search Central: Managing multi-regional and multilingual sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites), checked 24 November 2026
- [Google Search Central: How Google interprets the robots.txt specification](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt), checked 24 November 2026
- [OpenAI: Overview of OpenAI crawlers](https://developers.openai.com/api/docs/bots), checked 24 November 2026
- [llmstxt.org: The /llms.txt file](https://llmstxt.org/), checked 24 November 2026
- [Google Search Central: Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes), checked 24 November 2026
- [Google Search Central: Spam policies for Google web search](https://developers.google.com/search/docs/essentials/spam-policies), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
