Ecom Store Pro

How do you connect a subdomain to Shopify?

Published ·
At a glance
Short answer
Third-party domain: add a CNAME for the subdomain pointing to shops.myshopify.com, then connect it under Settings > Domains.
A record
Not needed for a subdomain, even when it becomes your primary domain
TXT record name
Only if Shopify asks: shopify_verification_ plus the subdomain part, such as shopify_verification_shop
DNS update time
Up to 48 hours to propagate; TLS or SSL pending meanwhile
Bought through Shopify
Add it under the domain's Subdomains; Shopify adds the CNAME

How do you point a subdomain at Shopify?

You need to own the root domain first, and it can keep serving your other website while the subdomain runs your store.

Bought the domain through Shopify?
Skip the CNAME: in Settings > Domains, click the root domain, click Add subdomain in its Subdomains section, enter a prefix such as shop and click Save. Shopify adds its default CNAME for you. What else differs for a Shopify-managed domain.
  1. At your DNS provider, add a CNAME record: the Host or Alias is the subdomain (how you type it depends on the provider), the target is shops.myshopify.com, and many providers require a period at its end. No A record is needed, even for a primary domain.
  2. In Shopify, go to Settings > Domains, click Connect existing, enter the full subdomain, click Next and follow the prompts.
  3. If Shopify can't find the CNAME, fix the record and click I updated DNS records.
In Shopify adminOpen in your store
  1. Settings
  2. Domains
Step 2: type the full subdomain, such as shop.example.com, into the Domain field.
In Shopify adminOpen in your store
  1. Settings
  2. Domains
Step 3: on October 24, 2026 the test domain listed a CNAME and TXT under Update to; add them at your DNS provider.

When does Shopify ask for a TXT record?

The subdomain guide only says your domain "might require" extra verification; Shopify's ownership page names one case, a domain already connected to another Shopify store, and none of the domain pages we read in October 2026 names another.

If asked, copy the TXT value Shopify lists on the domain's page in Settings > Domains, then add a TXT record named shopify_verification_ plus the subdomain part: shopify_verification_shop for shop.example.com. Shopify's check can take a few minutes.

What happens after you connect the subdomain?

Any DNS update can take up to 48 hours to propagate, with TLS or SSL pending meanwhile; the pages we read give subdomains no separate time. It's ready when the Domains page reads Connected.

Then you can make the subdomain your primary domain, and your other domains, including myshopify.com, redirect to it unless one is set as an alias. Shopify's video shows the switch.

How to change your primary domain || Shopify Help CenterShopify Academy video on how to change your primary domain in the Shopify admin.
About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Domains & email
Does Shopify support DNSSEC on your domain?

Shopify-managed domains don't support DNSSEC; on a third-party domain, a broken DNSSEC setup keeps the domain from fully connecting.

October 23, 2026

Domains & email
Why does your Shopify store say Not secure?

The TLS certificate may not be issued yet (up to 48 hours) or a page may load an asset not over HTTPS; check Domains lists your domain as Connected.

October 23, 2026

Domains & email
How do you move a domain to another Shopify store?

Third-party domain: verify ownership in the new store. Shopify-managed domain: send a transfer link; up to 24 hours once accepted.

October 23, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.