Multilingual Website: Choosing Domains and Subdomains
Country domains, subdomains or subfolders: each way of structuring a multilingual website has trade-offs. Learn how to choose and how to set it up cleanly.
10 min readUpdated Nov 28, 2026By XPASS Editorial Team

Sooner or later most growing businesses want their website to speak more than one language. A shop that started in Thai adds English for tourists and suppliers, a software team adds Chinese for a new market, or a consultancy wants separate pages for regional clients. The moment you decide to do this, a technical question appears that is easy to postpone and expensive to undo: where do the different languages live? Do they sit on separate domains, on subdomains of one domain, or in folders on the same site?
This guide walks through the choice in plain terms. You will see what each structure looks like, what it means for visitors and for search engines, how to match the structure to your situation, and how to set it up without leaving broken links or duplicate pages behind. If you want the narrower comparison between subdomains and subfolders, see Subdomain vs Subfolder for SEO. Here we widen the view to include country domains and the practical decisions around them.
The three common ways to structure a multilingual site
Almost every multilingual website uses one of three patterns, or a mix of them. It helps to name them clearly before comparing.
Country-code domains
A country-code top-level domain (ccTLD) is the ending that belongs to a country or territory, such as .th for Thailand, .de for Germany or .jp for Japan. With this pattern you register a separate domain for each market, for example example.co.th, example.de and example.jp. The list of these endings and the organisations that manage them is published in the IANA root zone database, and each registry sets its own rules about who may register what. Some require a local company or a local address; others are open to anyone.
Subdomains
A subdomain is a prefix added in front of your main domain, such as en.example.com or th.example.com. To the DNS system, each subdomain is a separate name that can point to a different server, even though it belongs to the same registered domain. The way names are organised into a hierarchy is described in RFC 1034, which is a useful background read if you want to understand why a subdomain behaves like its own site.
Subfolders
A subfolder, also called a subdirectory or path, keeps every language under the same host name: example.com/en/, example.com/th/ and example.com/zh/. Technically it is one website with one set of settings, one certificate and one analytics property, and the language is simply part of the address path.
You will also meet hybrids, for example a main domain with subfolders for most languages and one country domain for a market that needs its own legal entity. That is perfectly valid. The point of learning the three patterns is that the trade-offs below apply to each piece of the hybrid separately.

Language is not the same as country
Before choosing a structure, separate two ideas that people often mix up. A language is how you write; a country or region is where your customer is. A Spanish-speaking customer may live in Spain, Mexico or the United States, and the prices, delivery options and legal wording may differ in each. An English page might serve Thailand, Singapore and Australia at once, or you might want three English versions.
This matters because the structure you pick signals what you are targeting. A country domain says "this is for people in that country". A language folder says "this is for people who read this language, wherever they are". Search engines understand both, but they are different promises. Ask yourself three questions:
- Is the content the same apart from the language, or do prices, products, shipping and legal terms change by country?
- Do you have people or a legal entity in each market who will run the local site?
- Are the visitors you want defined mainly by the language they read, or by where they live?
If your answers are "same content", "no, one central team" and "language", you are describing a language-based site, and subfolders or subdomains will serve you well. If the content, team and customers change by country, a country-based structure starts to make sense.
What search engines and visitors care about
Search engines do not rank a site higher simply because it uses one structure rather than another. Google's own SEO Starter Guide focuses on things that apply to every structure: clear page titles, descriptive URLs, helpful content written for people, and making sure pages can be found and understood. What the structure changes is how much work you must do to achieve those things in each language.
Visitors, for their part, care about a few simple things. They want to land on a page in a language they can read, to be able to switch easily if they landed on the wrong one, and to trust the address they see. A familiar country ending can add trust in some markets, but a clear, consistent brand name matters more than the ending itself.
Hreflang annotations
When you publish equivalent pages in several languages, you should tell search engines about the relationship. The tool for this is hreflang, a small annotation placed in the page head, in the HTTP header, or in your sitemap. Each page lists itself and all of its alternates, using language codes such as en, th and zh, and optionally a region such as en-AU. Two habits make hreflang reliable: every alternate must link back to the others, and the page should also carry a canonical link pointing to itself so that search engines are not confused about which address is the main one.
One clear address per page
Whatever structure you choose, every piece of content should have one preferred address. Avoid serving the same page at both example.com/en/ and en.example.com, or at both a country domain and a folder, unless you mark the preferred version. Duplicate versions split attention and create confusion that you then have to clean up.
Comparing the options side by side
The table below summarises how the three patterns usually behave. Treat it as a guide, not a rulebook; the details depend on your platform and team.
| Factor | Country domains | Subdomains | Subfolders |
|---|---|---|---|
| Local market signal | Strongest | Moderate, via settings | Moderate, via settings |
| Setup effort | Highest: one domain per market | Medium: DNS and certificates per subdomain | Lowest: one site |
| Running cost | Highest: multiple registrations and hosting setups | Medium | Lowest |
| Technical separation | Complete | Good: each can run on its own platform | Limited: one platform |
| Analytics and reporting | Separate properties to combine | Separate or combined with effort | One property, simple |
| Registration rules | Vary by country; some need local presence | One registration | One registration |
| Brand consistency | Harder to keep aligned | Moderate | Easiest |
| Best for | Separate local businesses | Different platforms or teams per language | Same business in many languages |
Two honest observations come out of the table. First, subfolders are the lowest-effort route and are a very reasonable default for small and medium sites. Second, the strongest local signal comes at the highest running cost, so it should be bought only when the business reality behind it exists.
How to choose for your situation
Rather than ask which structure is best in the abstract, match it to a situation. These are common patterns, not strict rules.
A small business adding one or two languages
You have a single team, and the content is mostly translated copies of the same pages. Use subfolders on your existing domain. You keep one certificate, one set of analytics, one place for authority to build up, and one site to maintain. This is the safest default.
A company with a different platform for each language
Perhaps the English site runs on one content system and the Chinese site is built by a separate agency on another. Subdomains fit well because each can point to a different server through DNS without touching the main site. Be prepared to set up a certificate for each subdomain and to track them together in your reports.
A business with real local operations in several countries
If you have local staff, local prices, local payment methods and sometimes a local legal entity, country domains reflect that reality and customers in each country may find them more natural. Budget for the registrations, the hosting setups, the renewals and the local content workload, and check each registry's eligibility rules before you commit.
A business testing a new market
Start small. Add a subfolder for the new language, see whether there is real interest, and only then consider a larger investment. It is much easier to promote a successful subfolder into its own domain later than to unwind a failed set of domains.
Setting it up step by step
Whichever pattern you choose, a clean setup follows the same outline.
- Write down the plan. List each language or country, the address pattern you will use, and who owns the content. A one-page table prevents later arguments.
- Register what you need. For subfolders and subdomains that is a single domain. For country domains, check the registry rules first, then register each one with the same registrant details so renewals are easy to track. You can search and register names on the domains page.
- Point DNS correctly. For a subdomain, add an A, AAAA or CNAME record at your DNS provider for each language host. For country domains, set the records for each domain. For subfolders, nothing extra is needed in DNS because the folders live on the same host.
- Secure every host name. Each domain and subdomain needs HTTPS. A single certificate may cover several names, or you may need one per name, depending on the type you use. Test every address in a browser before launching.
- Build the language switcher. Offer an obvious link to the equivalent page in the other language, not just to the home page. Avoid forcing a language from the visitor's location alone; suggest it and let them choose.
- Add hreflang and canonicals. Make sure each page lists all alternates, including itself, and that the lists agree with each other.
- Create one sitemap per structure. Submit sitemaps through your search console account so the engines can discover every language version. If you use separate domains or subdomains, each is verified as its own property.
- Set up redirects. Decide how the bare domain behaves. Many sites send visitors to the default language, and a few show a language chooser. Use permanent redirects only when an address has really moved.
- Test, then monitor. Check a sample of pages in each language for correct titles, canonicals and links, then watch coverage and errors in your reports over the following weeks.

A worked example
Imagine a Bangkok-based design studio, Studio Rim, with its main site at studiorim.com in Thai. It wants to add English for international clients and Chinese for a partner agency in another country. The team is small, the portfolio is the same in every language, and one person manages the website.
The studio chooses subfolders: studiorim.com/th/, studiorim.com/en/ and studiorim.com/zh/. The bare domain redirects to the Thai home page by default, with a visible language switcher at the top of every page. Every page carries hreflang annotations listing the three versions plus a default. One sitemap covers all three folders, and one certificate and one analytics property serve the whole site. If the Chinese partner later builds a separate local business with its own staff and pricing, the studio can register a country domain for that market and redirect the Chinese folder to it with permanent redirects. Because the first structure was tidy, that later move is straightforward.
Compare that with a hospitality group that owns hotels in three countries. Each country has its own manager, its own booking prices and its own legal terms. Country domains fit that reality, and each local team can publish quickly without waiting for a central deployment. The cost is higher, but so is the business benefit.
Limits and what to watch for
No structure fixes weak content, and a clever address cannot rescue a poor translation. Keep these cautions in mind.
- Machine translation without review produces pages that read badly and erode trust. Have a fluent person check important pages.
- Partial translations leave visitors on a language page that links back to another language. Either translate a section fully or do not link to it from the switcher.
- Automatic redirects by location frustrate travellers and can stop search engines from seeing all versions. Offer a suggestion rather than force the choice.
- Mixed signals such as conflicting hreflang, canonicals pointing to the wrong language, or sitemaps listing the wrong addresses are among the most common problems. Audit them after launch.
- Registry rules differ. Some country endings require a local presence, and some restrict what the domain can be used for. Read the rules before building a plan around a particular ending.
- Renewals multiply. Every extra domain is another renewal date. If one expires, that market goes offline. Keep a list, use consistent contact details and consider longer registrations for important names.
- Changing later is a migration. If you outgrow your first choice, follow a structured process such as the domain migration checklist so every old address redirects to its new equivalent and nothing is lost.
- No magic ranking effect. As discussed in how domain names affect Google ranking, the name and ending are only a small part of what search engines evaluate. Do not choose a structure purely in the hope of a ranking boost.
Summary
A multilingual website can live on country domains, subdomains or subfolders. Subfolders are the simplest and a sound default for most small and medium businesses. Subdomains help when each language runs on its own platform or team. Country domains offer the strongest local signal but multiply cost and work, so they suit businesses that really operate separately in each country.
Whatever you choose, give every page one preferred address, add hreflang and canonical annotations, secure every host name with HTTPS, submit sitemaps, and let visitors switch languages easily. Plan your structure on paper first, because changing it later is a migration, not a tweak.
When you are ready to register a name or plan extra domains for new markets, the domains page shows what is available for your business.
Frequently asked questions
Which structure is best for a multilingual website?
There is no single best answer. Subfolders on one domain are the simplest to run and keep everything under one name. Subdomains give technical separation. Country domains give the strongest local signal but multiply the work. Pick based on your team size, budget and how different each market is.
Do I need a separate domain for each language?
Not usually. A language is not a country, and one domain can serve many languages. Separate country domains make sense mainly when you run genuinely separate businesses, with local staff, pricing and legal entities, in each market.
Should I translate the domain name itself?
Usually no. Keeping one consistent brand name across languages is easier to remember and protect. If you want a local-script address, check carefully that it works in email and in the places people share links.
What is hreflang and do I need it?
Hreflang is a set of annotations that tell search engines which page is meant for which language or region. If you publish equivalent pages in several languages, adding it helps search engines show the right version to the right visitor.
Can I change the structure later?
Yes, but it is a migration. You need permanent redirects from every old address, updated links and sitemaps, and a period of monitoring. It is far cheaper to decide well at the start than to move later.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Ready to register your domain?
Search a name, compare extensions and pay once for the years you choose.
.com registration from $18.81 for the first year
Search domainsKeep reading

Domain & DNS Guides
Subdomain or Subfolder: Which Is Better for SEO?
Both subdomains and subfolders can rank. This guide explains the real differences, the situations where each fits, and the setup and migration details that matter.
10 min read

Domain & DNS Guides
How Much Does a Domain Name Affect Google Ranking?
Keywords, extensions, length and age: which parts of a domain name really influence Google rankings, and which are myths? A practical guide to choosing well.
9 min read

Domain & DNS Guides
Domain Migration Checklist for a Business That Is Rebranding
A rebrand usually means a new domain name. This checklist covers what to prepare, how to redirect the old address, and what to verify after the switch.
10 min read