How do I set up separate domains or subdomains for different languages or regions in Shopify?
To set up Shopify domains for different languages and regions, assign each domain or subdomain to a market and choose the languages that market shows. For example, you can assign fr.example.com to a France market and example.de to a Germany market. This needs the Basic plan or higher and a custom domain, according to Shopify’s international domains documentation.
Quick answer
Create or review the market, connect the domain or subdomain under Settings > Domains, and add the languages under Settings > Languages. Then open the market, click the + icon on the Domain / language row under Inherited, pick the domain and language for that market, translate and publish the language, and activate the market. To offer more than one language on a domain, assign each language to that domain under Settings > Languages and set one as the default.
Before you start
- To give a market its own domain or subdomain, you need a custom domain connected to your store, bought through Shopify or a third-party provider. The myshopify.com address cannot serve as a market’s separate domain.
- Connecting or assigning a domain does not translate your content or set prices. You configure translations and currencies separately.
- Selling in more than one currency requires Shopify Payments to be active.
- Adding a language does not translate your content, and untranslated content shows in your default language. Review your translations in Translate & Adapt or a compatible app before launch.
- Country domains such as .ca and .fr can carry residency or business registration rules when you buy them through Shopify.
How to set up Shopify domains for different languages and regions
Prepare the market, domain, and languages
- Create or review the market. Go to Markets and click Create market, or open an existing market. Enter a name, choose Draft so you can prepare it before customers see it, click Add condition under Includes, select Regions, and pick the countries. Click Save.
- Connect the domain or subdomain. Use the option that matches your setup:
- For a country domain, go to Settings > Domains, click Connect existing, and follow the DNS instructions.
- For a subdomain on a Shopify-managed domain, click the root domain in Settings > Domains, then click Add subdomain. International subdomains must use two-letter country codes, such as fr or ca.
- For a subdomain on a third-party provider, create a CNAME record that points the subdomain to shops.myshopify.com, as described in Shopify’s subdomain guide, then connect it in Settings > Domains.
- Add the languages. Go to Settings > Languages, click Add language, select the language, and save. If Shopify shows a list of domains, turn on each domain that should offer the language. A language must be added to your store before you can assign it to a market.
Assign, translate, and publish
- Assign the domain and language to the market. Go to Markets and open the market. Under Inherited, click the + icon at the right end of the Domain / language row. In the popup, pick the domain and language this market should use, then click Done and Save. Shopify’s help pages describe the same choice as Subdomain or Separate domain, so you may see those labels instead. If your admin shows Languages and domains instead, open it, click Manage domains, and select Use a separate domain/subdomain.

- Add translations and publish. Translate your content with the Translate & Adapt app, a CSV import, or a compatible translation app. Then go to Settings > Languages, open the language’s actions menu, and click Publish. Customers cannot see a language until you publish it.
- Check each domain’s default language. In Settings > Languages, open the language’s actions menu, click Set as domain default, and choose the domain. For example, set French as the default for example.fr and English for example.com. An unpublished language can only be assigned to a domain that already has a default language.
Redirect and go live
- Optionally turn on automatic redirection. Go to Online Store > Preferences. In Automatic redirection, activate Country/region, and activate Language if you want browser-language redirection, then click Save. Language redirection only works for languages that are added, assigned, translated, and published.
- Activate the market. Review products, prices, shipping, and taxes for the market, then use the status menu next to the market name to change it from Draft to Active.
How to offer more than one language on a domain
A domain can serve more than one language, because Shopify assigns languages to domains and every market that uses a domain gets its languages. To add a second language, go to Settings > Languages, open the language’s actions menu, click Assign to domain, and turn on the domain. Then set the domain’s default language, as in step 6.
For example, a Canada market on example.ca can show English at example.ca and French at example.ca/fr.
Two things that break setups
A domain or subdomain assigned to a market cannot become your primary domain until you assign a different domain or subfolder to that market. Also, unpublishing a language makes its language URLs return 404 errors, and Shopify’s documentation says the same happens when you remove a market’s domain or subdomain or deactivate a subfolder market. Set up URL redirects before you change the structure.
Should you use domains, subdomains, or subfolders?
Shopify recommends subfolders for a first international setup, because they need minimal setup and benefit from your primary domain’s existing authority. Subdomains and country domains work too, but each carries a different cost.
| Method | Example | What Shopify’s documentation says |
|---|---|---|
| Subfolder | example.com/fr-fr | Suits most stores. Minimal setup, no extra domain cost, and it benefits from your primary domain’s authority. |
| Subdomain | fr.example.com | Free to set up and gives each market a separate URL structure, but it may benefit less from your main domain and take longer to build authority. |
| Country domain | example.fr | Gives strong local SEO signals, but needs a separate purchase per market and builds its own authority, so it takes the most effort. |
A market that uses a subfolder is served from a path on your primary domain, such as example.com/fr-ca. A market with its own domain can also offer extra languages through paths such as example.ca/fr.
Start with subfolders unless you have a concrete reason to separate the regional site. You can switch methods later, as long as the domain or subdomain stays connected in your admin.
What to check before you launch
- Hreflang tags: Shopify creates them automatically for every international domain or subfolder, so leave Automatic hreflang tags on in Online Store > Preferences unless you add your own.
- Sitemaps: Consider submitting a sitemap for each domain and subdomain in Google Search Console to help Google discover the localized URLs. Submission does not guarantee indexing or rankings.
- EU redirection: EU customers who visit an EU country-code domain, such as example.de or example.fr, are not automatically redirected to another regional storefront. Redirection can still apply when they visit a domain that is not country-specific, such as .com or .shop.
- Selectors: Keep country and language selectors in your theme, because location detection is not always right. A compatible app can also help EU customers choose a regional experience.
- Live test: Load each domain and subdomain directly, check the default language, and switch languages. Then run a test order through cart and checkout to confirm prices and shipping.
Choose the structure before you buy country domains, since each one is a separate purchase that builds its own search authority. For most stores, subfolders come first, and a dedicated domain makes sense once a market justifies it. If you are planning several markets at once, our Shopify development team can map the domain and language structure with you first.
Related Answers
Still need help?
Questions about Shopify domains for new markets?
If you’re weighing subfolders, subdomains, or country domains for new regions, we’re happy to walk through your options and what each would involve for your store.
