Opens in a new tab

Connect a domain to Shopify: the DNS records

Point the root domain at Shopify with one A record — 23.227.38.65 — and www with a CNAME to shops.myshopify.com. Delete every other A and AAAA record on the root: with more than one, browsers pick one at random. Shopify then issues the certificate, which can take up to 48 hours.

The records to add

NameTypeValue
@A23.227.38.65
@AAAA2620:0127:f00f:5::
wwwCNAMEshops.myshopify.com.

Shopify notes your A record may show an address that differs in its last number — use the one in your admin. Subdomains (shop, store) take the same CNAME, with no A record.

Not supportedDNSSEC, Cloudflare’s proxy and similar services
CertificateUp to 48 hours
VerificationTXT at shopify_verification — only when moving a domain from another Shopify store

Check your domain

Enter your domain: we look up its records and compare them with what Shopify expects — the root, www, and any record left over from before.

Step by step

  1. In Shopify admin, open Settings → Domains → Connect existing domain and enter the domain (without www).
  2. At your DNS host, set the root’s A record to 23.227.38.65 (and the AAAA to 2620:0127:f00f:5::) and delete every other A and AAAA record on the root.
  3. Set www to a CNAME for shops.myshopify.com, with the trailing dot if your host asks for one.
  4. Verify the connection in Shopify, then wait for the certificate — changing the records again restarts the wait.

What to remove

  • Every other A record on the root — with several, browsers choose one at random.
  • Other AAAA records.
  • A CAA record that does not allow letsencrypt.org, pki.goog and ssl.com — a CAA record ending in a semicolon allows no one.

The certificate

Shopify issues the certificate automatically once the records point to it; it can take up to 48 hours, shown as “TLS/SSL pending”. DNSSEC stops the domain resolving on Shopify, and Cloudflare’s proxy is not supported.

Common mistakes

  • Leaving the old host’s A record beside Shopify’s.
  • Using custom nameservers instead of your DNS host’s own.
  • Typing www. into the domain field in Shopify.
  • Changing the records again during the 48 hours, which resets the wait.

Sources

Records checked on 26 September 2026 against these official sources:

Know the moment your site stops answering

Add your site and we check it every few minutes, confirm a failure from another location — Europe, North America or Asia — before calling it down, and email you when it stops answering and when it is back. Free for two sites.

Create a free account