Add a subdomain for your Shopify-managed domain
A subdomain is a subset of your root domain that you add as a prefix to your domain, such as www. For example, in the URL help.shopify.com, shopify.com is the root domain and help is the subdomain. If you have a Shopify-managed domain, then you can add subdomains for free from your Shopify admin.
If you use international domains, then you can use subdomains to create a region-specific URL for every country or region where you have a target market. For example, if your store's primary domain is example.com, then you can create a subdomain for Canada with the URL ca.example.com and a subdomain for France with the URL fr.example.com. International subdomains must use two letter country codes.
On this page
Create a subdomain for your online store
You can add up to 20 total domains and subdomains to your Shopify store, in addition to your .myshopify.com domain name. If your store is on the Shopify Plus plan, then you can add up to 1,000 total domains and subdomains.
Steps:
From your Shopify admin, go to Settings > Domains.
Click the root domain that you want to configure.
In the Subdomains section, click Add subdomain.
Enter the prefix that you want to add:
- For international subdomains, enter the two letter country code for your target market. For example,
eufor Europe, orcafor Canada. - For all other subdomains, enter the text that you want to add as a prefix. For example,
blogorshop.
- For international subdomains, enter the two letter country code for your target market. For example,
Click Save.
Optional: To change the subdomain's domain type, click the name of the new subdomain, and then click Change domain type to be a primary, redirect, or alias.
When you add a subdomain, Shopify's default CNAME (Canonical Name) is automatically added to your DNS (Domain Name System) settings. If you want to point the subdomain to a specific market or website, then you can do the following tasks:
- Assign your subdomain to a specific country or region.
- Edit the CNAME record in your DNS settings to point your subdomain to another website.
Create a subdomain for your customer account pages
You can create a subdomain for customer accounts that directs customers to their account pages. The subdomain becomes the primary domain name for all customer account pages and displays to customers in their browser, providing a consistent branded experience from sign-in through to account management. For example, if your subdomain is account.your-store.com, then customers access the sign-in page at account.your-store.com/authentication/login.
Learn more about subdomains for customer accounts pages.