Store Setup Manual
Plain-English setup guides for Shopify store owners

Reviewed November 23, 2026

Connecting a Third-Party Domain to Shopify: The Exact DNS Records, and the Mistakes That Waste a Day

To connect a domain you bought elsewhere to Shopify, edit its DNS at your registrar: set the A record for the root domain to 23.227.38.65, and set the www CNAME record to shops.myshopify.com. Remove any other A records for the root and any AAAA records, which point the domain at a different IPv6 destination and are the most common hidden cause of a connection that works for some visitors and fails for others. Then add the domain in Shopify under Settings, Domains, and allow for propagation, which Shopify notes can take up to 48 hours but is usually much faster.

Domain connection failures feel mysterious because DNS gives almost no feedback. You change records, the store either appears or it does not, and the registrar, the browser cache, and propagation delays all take turns looking guilty. In practice the failure set is small and boring: a leftover record from the old host, an IPv6 record nobody knew existed, or a check run five minutes after the change.

Shopify Help Center publishes the exact records, and they have been stable for years. The work is not finding them. It is cleaning the zone so they are the only instructions the domain is giving out.

The records, and the cleanup around them

The A record maps your root domain, the version without www, to Shopifys IP, 23.227.38.65. The CNAME maps www to shops.myshopify.com, your stores permanent Shopify address, not your custom domain and not your store name with a different ending; that exact target is the detail people mistype. There can be only one effective A record for the root. A second A record pointing at an old host means some visitors get the old site, decided by resolver luck, which produces the maddening report that the site works for the owner and not for customers.

Delete AAAA records unless you know precisely why one exists. An AAAA record gives the domain an IPv6 address, browsers prefer IPv6 when offered, and a stale AAAA from a previous host will send a share of your visitors somewhere that is not Shopify while the A record looks perfect. Shopify does not require an AAAA record for a connected domain. Also leave the nameservers at the registrar unless you intend to move DNS hosting entirely; changing nameservers mid-connection restarts the clock and the confusion.

Verification, SSL, and the waiting rules

After the records are set, add the domain in Shopify and let verification run. Shopify issues the TLS certificate automatically once the domain verifies, and an unsecured warning in the first hours is propagation, not a separate SSL task to buy or install. Set the verified domain as primary only after it resolves and loads with the padlock, and decide deliberately whether www or the root is primary; Shopify redirects the other to it, and consistency here is what your links, packaging, and ads should match.

If verification fails after a few hours, check the zone against the two records before changing anything. Changing records repeatedly during propagation makes diagnosis impossible, because you no longer know which version of the zone a given result reflects. One correct configuration, left alone, beats four hopeful ones. DNS checkers that query the authoritative records directly will tell you what the world is actually being told, as opposed to what your browser has cached.

The pre-launch checklist that prevents the support ticket

Before connecting, export or screenshot the existing DNS zone. Domains accumulate records with jobs: email MX records, verification TXT records for Google and for email sending, a subdomain for a help desk. The connection task touches A, AAAA, and the www CNAME. Everything else stays. The classic self-inflicted wound is tidying the zone during connection and taking the stores email down with the old A record.

After the domain is live, send yourself a test email to the domain, open the store from a phone on cellular rather than office Wi-Fi, and click through checkout to the payment step. Those three checks cover the records you might have disturbed and the caches that might be lying to you. Then write the final records in the stores operations notes, so the next person who touches DNS knows which lines are load-bearing.

Related reading

For the background behind “Connecting a Third-Party Domain to Shopify: The Exact DNS Records, and the Mistakes That Waste a Day”, these earlier guides help: Shopify Tax Setup Starts With Where You Are Registered, Not the Settings Page, A Shopify CSV Export Is Not a Backup: What It Saves and What It Loses, and Shopify Payments Payouts Run on a Schedule, Not on Your Rent Due Date.

Frequently asked questions

What DNS records does Shopify require for a third-party domain?

An A record for the root domain pointing to 23.227.38.65, and a CNAME record for www pointing to shops.myshopify.com. Remove extra A records and any AAAA records, which conflict with the connection.

Why does my domain work for me but not for customers?

Usually conflicting records: a second A record or a stale AAAA record sends some resolvers to an old host. Browsers also cache DNS, so your machine may hold the new answer while others hold the old. Clean the zone to one A record and no AAAA, then allow propagation.

How long does domain connection take?

Propagation can take up to 48 hours per Shopify, though it is often complete within a few hours. The TLS certificate is issued automatically after verification. Repeatedly changing records during the wait restarts propagation and makes the delay worse.

Will connecting my domain break my email?

Not if you only change the A, AAAA, and www CNAME records. Email runs on MX records, which are separate. Export the existing DNS zone first so you can see which records serve email and verification, and leave those untouched.