Reviewed November 28, 2026
Shopify Domain DNS: Two Records, Set Once, Left Alone
Connecting a domain to Shopify is a two record job that owners routinely turn into a two day saga. The records themselves are fixed and public: an A record on the root pointing to 23.227.38.65, and a CNAME on www pointing to shops.myshopify.com. Everything that goes wrong happens around those two lines: leftover records from a previous host, a registrar preset that adds its own, an SSL certificate waiting on a conflict nobody can see, and an owner editing the zone every hour and restarting the verification clock each time.
This post is the launch checklist version: the exact records, the conflicts that break them, what the up to 48 hour window really means, and the one screenshot that saves you if the zone goes sideways. DNS is unforgiving of improvisation and completely indifferent to urgency. Do it once, in order, and leave it alone.
The records, exactly as Shopify expects them
At your registrar or DNS host, the root of the domain, the @ host, gets a single A record with the value 23.227.38.65. The www host gets a single CNAME with the value shops.myshopify.com. Shopify permits only one of each: two A records pointing at different hosts means some visitors reach Shopify and some reach your old site, a split that looks like a haunting and tests as an outage. Newer setups may also show an AAAA record for IPv6, which Shopify supplies when it applies.
If Shopify asks you to verify ownership, you will also add a TXT record with a token value the admin gives you. Add it exactly as shown. The verification and duties related settings in the Markets setup post assume the domain layer is already this clean.
The conflicts that break connections
Leftover records are the first conflict: an old A record from a previous host, a parking record from the registrar, or a CNAME on the root, which is never valid and blocks the A record from working. The second is proxy interference: a DNS provider's proxy or flattening feature answering with its own addresses, so Shopify's checker never sees the values you set. The third is the registrar's forwarding service, which adds redirect records that fight the Shopify connection.
The diagnostic habit that saves hours: query the domain from a public DNS checker and read what the world sees, not what your registrar panel claims you set. Panels show intent. DNS lookups show truth. When the two disagree, the lookup is right and something between you and the public zone, a proxy, a stale zone, a second DNS host, is rewriting it.
Email, subdomains, and what not to touch
Your email runs on MX records, and neither the A record nor the www CNAME touches them. Stores break their own email by using a registrar's reset to Shopify preset or by deleting records they do not recognise during cleanup. The SPF, DKIM, and DMARC TXT records your email provider needs look like clutter in a zone you did not build. Leave every record you cannot identify. Cleanliness is not a DNS virtue.
Subdomains beyond www, like shop. or blog., get their own CNAME records only if you connect them, and each is a separate decision. A subdomain pointing at another platform is legitimate and common. The root and www are Shopify's. Everything else is yours to allocate, a division worth keeping as deliberate as the staff access split in the staff accounts post.
The 48 hour window, used properly
Shopify states that a domain connection and its SSL certificate can take up to 48 hours. Most settle within a few hours. The window exists because DNS changes propagate through caches worldwide on their own schedule, and certificate issuance queues behind verification. The owner's job during the window is restraint: verify the records once with a public lookup, confirm the admin shows the connection pending, and then stop editing. Every edit restarts checks and can restart the certificate process. Set the domain as primary only after the certificate shows as issued, or your customers meet a security warning on the busiest day of your launch.
Frequently asked questions
What DNS records does Shopify need for a custom domain?
Point the root A record to 23.227.38.65 and the www CNAME to shops.myshopify.com. Shopify allows only one of each on the domain. Extra A records or a second CNAME are the most common reason a connection fails or a certificate never issues.
How long does a Shopify domain connection take?
Shopify says a connected domain can take up to 48 hours to verify and for its SSL certificate to issue. Most connections settle far sooner. Editing records repeatedly during the window restarts checks and is the main way owners turn a four hour wait into a two day one.
Will connecting my domain to Shopify break my email?
Yes, if you do it carefully. Email lives on MX records, which the Shopify A and CNAME changes do not touch. The danger is a registrar preset or a DNS reset button that wipes the whole zone. Change only the records Shopify names, and screenshot the zone before you start.
What is the TXT record Shopify asks for?
When ownership needs proving: a domain bought elsewhere, a subdomain connection, or a verification prompt in the admin. The TXT record carries a token Shopify checks. It is harmless to leave in place and removing it early can drop the domain back into an unverified state.