ARTICLE - Domain Planning

Website Domain Architecture Planning: Main Domain, Subdomains & Internationalization

For users in multiple countries, should you use ccTLDs, subdomains, or subdirectories? Based on Google's official docs, this article plans main-domain, subdomain, multi-domain, and international domain architecture.

2026-08-06 Google Search Central

Website Domain Architecture Planning: Main Domain, Subdomains & Internationalization

Domain architecture is one of the hardest decisions to reverse after launch. How the main domain and subdomains divide work, and what URL structure multilingual sites use, affect SEO, maintenance cost, and user experience for years. Google Search Central's official guidance is clear: use different URLs for each language/region version, and tell search engines how those URLs relate using structured methods.

Why emphasize "decide before launch" so strongly? Because once URLs are indexed, linked to, and bookmarked, changing them brings redirects, authority migration, and traffic fluctuation. Instead of spending weeks on a 301 migration later, spend half a day locking down the plan at the architecture stage.

Dividing responsibilities between main domain and subdomains

The main domain (e.g., example.com) is the anchor of your brand and should host the core site. Subdomains (e.g., blog.example.com, app.example.com) suit services that are technically isolated: blog systems, SaaS apps, stores, help centers. The rule of thumb is whether a service needs its own tech stack, team, or CDN strategy. Note: search engines do not favor subdomains over subdirectories — choose based on management convenience, not the myth of "subdomains weigh more" (see subdomains vs custom domains).

A workable test: if a service needs separate deployment, separate scaling, or even separate CDN/WAF policies, give it a subdomain; if it is only content organization, a subdirectory is simpler. An e-commerce site that puts its store on shop.example.com, its blog on blog.example.com, and keeps static pages like About and FAQ under main-domain subdirectories is a common compromise.

Three URL structures for multi-language and multi-regional sites

Google compares three structures for serving users in different countries:

Structure Example Pros Cons
ccTLD example.de Clear geotargeting, independent of server location Costly, registration limits, targets one country
gTLD + subdomain de.example.com Easy to set up, different servers allowed Users can't tell target region from the URL
gTLD + subdirectory example.com/de/ Easy to set up, low maintenance One server location, harder to separate sites

The choice depends on budget and goals: for a single country, ccTLD geotargets most precisely; for multiple countries or languages, subdirectories or subdomains are more flexible (see ccTLD selection strategy).

For most small and mid-size teams, the advice is straightforward: prefer subdirectories while business covers 1-2 countries, and introduce a dedicated ccTLD only when one market's revenue share grows clearly and needs localized pricing or independent operation. This keeps initial domain and maintenance costs low without letting early architecture constrain you once the business matures. Conversely, if you know from the start you only serve a single country, going straight to a ccTLD saves trouble.

Special handling of "personalized" ccTLDs

Google treats some personalized ccTLDs (such as .io, .tv, .me, .co) as generic TLDs because users widely consider them more global than country-specific. So using .io does not automatically target any country — you still need explicit hreflang or geosignals (see the TLD comparison).

Annotate language versions with hreflang and x-default

When the same content exists in multiple languages, hreflang tells Google how they relate and avoids confusion. Key points:

  • Every language version must declare itself and all other versions (HTML tags, HTTP headers, or sitemaps — pick one method);
  • Use the x-default value to point to a language selector or the default version;
  • Language codes follow ISO 639-1 and region codes ISO 3166-1 Alpha 2 — never use a country code alone as a language (see hreflang international SEO guide).

Multi-domain strategy: brand protection and consolidation

A multi-domain architecture also includes defensive registrations: register same-name names on other extensions and common typos, and 301 them to the main domain to protect the brand and consolidate stray traffic (see typo defensive registration). Campaign domains (like campaign.example.com or standalone campaign names) are used on demand, and after a campaign ends, decide whether to keep or 301 them.

When consolidating into the main domain, the server side must handle the redirects. With Nginx, redirect an entire legacy subdomain to the new structure:

server {
    listen 443 ssl;
    server_name old.example.com;
    return 301 https://www.example.com$request_uri;
}

Whether the old address is reached via an external link or typed directly by a user, it lands at the new location with the full path intact, preserving as much existing authority as possible.

Migration cost and timing

Adjusting domain architecture (e.g., moving from subdomains to subdirectories, or switching ccTLDs) brings traffic fluctuation and a lot of redirect work. Plan early while traffic is low to avoid a big migration later (see website migration guide).

16IDC Takeaway

There is no single "right answer" in domain architecture — only answers that fit your business stage. A single main domain with subdirectories is simplest for small sites; add subdomains or ccTLDs later as you go multi-country and multilingual. The key is to put structure decisions in your technical plan instead of fixing them after launch. For more domain planning methods, see the Domain Planning category.

Source: https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites
Reference: https://developers.google.com/search/docs/specialty/international/localized-versions (hreflang annotation spec)

Phased rollout of a multilingual architecture

Phase one fixes the main domain and URL structure: with business in 1-2 countries, a main domain plus subdirectories such as example.com/de/ needs one server location, and the number of sites does not multiply with languages.

Phase two adds hreflang and x-default: each language version declares itself and every other version, x-default points at the language selector, language codes follow ISO 639-1 and region codes ISO 3166-1 Alpha 2.

Phase three decides whether a ccTLD enters the plan, based on whether one market's revenue share has grown enough to justify localised pricing and independent operation; a ccTLD is independent of server location but targets one country and costs more to register and renew.

How many domains each structure holds and what redirects it needs

Structure Domains and site copies held Redirect scope when migrating
ccTLD 1 domain and 1 site per target country Changing structure means changing the domain, so every old URL needs its own 301
gTLD + subdomain 1 gTLD covers all languages, 1 subdomain per language Consolidating into the main domain needs one 301 per URL; a missed deep link returns 404
gTLD + subdirectory 1 gTLD, 1 site, 1 server location Renaming the prefix affects every page, so each URL needs its own 301

The counts decide long-term maintenance load: ccTLD domains and site copies grow with each target country, while subdomains and subdirectories add language versions only and keep a single domain.

Redirect scope decides migration cost: the nginx return 301 https://www.example.com$request_uri rule keeps the full path, but it applies to one server_name only, so a cross-structure move has to list old prefixes one by one.

Limitations

  • So using .io does not automatically target any country — you still need explicit hreflang or geosignals (see the TLD comparison).
  • When consolidating into the main domain, the server side must handle the redirects.
  • Figures reflect public information at publication; terms, prices and quotas follow the provider's current published terms.

FAQ

Which URL structure suits one or two countries?

A gTLD with a subdirectory such as example.com/de/. It costs least to maintain and runs from 1 server location; introduce a ccTLD only when a market's revenue share grows and needs local pricing or separate operations. Serving a single country from day one makes a ccTLD simpler.

Where do ccTLD costs actually sit?

In three places. Registration and renewal, documents some registries require, and 1 site plus localisation per country. A ccTLD gives unambiguous targeting independent of server location but covers one country only; subdirectories scale better across markets, at a cost that grows with every language pair and each extra site.

How long should a subdomain migration be planned for?

Weeks, not days. Inventory the old URLs that are linked, write the Nginx 301 rules, then switch in batches and watch indexing. Settle the structure while traffic is small; once URLs are bookmarked and linked, the redirect work and the traffic dip both grow, and every missed path costs more.

What happens to existing backlinks after the change?

It depends on whether every URL redirects. A server block returning 301 with the original path keeps link equity flowing to the new address; deep links that are missed return 404 and lose both equity and traffic. After the switch, check old paths in the access log.

Related Providers

  • Amazon Route 53: When subdomains need latency or failover routing by region, use it to set hosted zones, health checks and weights.
  • Alibaba Cloud Wanwang: When the primary domain needs ICP filing and domestic and international subdomains resolve from one console, chain domain, DNS and filing there.
  • Verisign: When registry-side rules for .com and .net such as IDN or reserved names must be confirmed, read its official specification.

Community & Resources

Official docs and communities

Learning resources and tools

Original source: Google Search Central ↗