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)