Shopify Custom Domain Not Connecting: A Record, CNAME and SSL Checks
Short answer: A domain bought elsewhere connects to Shopify through two DNS records at your registrar: an A record for the root domain pointing to Shopify's IP address, and a CNAME for www pointing to Shopify. Connection fails when either record is wrong, when old A, AAAA or parking records still compete with them, or when a proxy such as Cloudflare sits in between. Once DNS is right, Shopify issues an SSL certificate automatically, which can take a while. Fix the records one at a time, leave your MX records alone so email keeps working, and use the Verify connection button in Shopify to confirm.
What Shopify expects
In the Shopify admin, open Settings > Domains and choose Connect existing domain. Shopify then shows the records it wants. At the time of writing they are typically:
| Host / name | Type | Value |
|---|---|---|
| @ (root, e.g. example.com.au) | A | 23.227.38.65 |
| www | CNAME | shops.myshopify.com |
Always copy the values shown in your own admin and in Shopify's guide to connecting a third-party domain, because they can change. Shopify will not ask you to touch MX or TXT records for email, and you should not change those for the store connection.
Check the root record
Open the DNS panel at whichever company your nameservers point to. This is not always the place you bought the domain: if nameservers point to a hosting company or Cloudflare, edit DNS there.
- Find all records with the host
@or blank (the root). - There should be exactly one A record, with Shopify's IP.
- Delete any other A records for the root, for example the IP of an old WordPress host or a registrar "parked page".
- Delete AAAA records on the root unless Shopify's instructions list one. A leftover AAAA record sends visitors on IPv6 networks to your old host, which looks like a random, intermittent failure.
- Remove URL redirect or "web forwarding" settings at the registrar that apply to the root. These work by creating their own hidden records.
Check the www record
- Find records with the host
www. - There should be one CNAME pointing to
shops.myshopify.com. Some DNS panels want a trailing dot (shops.myshopify.com.), others add it automatically. - Delete any A record for www. A name cannot have both a CNAME and other records.
- Do not point www at your own myshopify.com address unless the instructions in your admin say so.
Check the records are live
DNS changes are not instant. Use a public DNS lookup tool or, from a computer terminal, run:
dig example.com.au A +short
dig www.example.com.au CNAME +short
The first should return only Shopify's IP, the second only Shopify's target. If you still see old values, either the change was made in the wrong DNS panel or the previous TTL has not expired. Many changes appear within an hour, but allow longer before assuming something is wrong.
Cloudflare and other proxies
Cloudflare is popular in Australia for DNS, and it is a frequent cause of "SSL unavailable" in Shopify.
- In Cloudflare's DNS tab, set the root A record and the www CNAME to DNS only (grey cloud) while you connect the domain. With the orange cloud on, Shopify sees Cloudflare's IPs instead of its own and cannot complete certificate checks.
- Check SSL/TLS mode settings and page rules only after the domain works, and only if you have a specific reason to proxy.
- Remove Cloudflare redirect rules that rewrite www or the root, which can create redirect loops with Shopify's own redirect.
The same idea applies to other CDNs or "website protection" services from your registrar: switch them off for the Shopify records.
Certificate status and how long SSL takes
After DNS points correctly, Shopify requests a certificate for both the root and www. In Settings > Domains, each domain shows its SSL status. "SSL pending" usually only needs time. "SSL unavailable" for a long period means Shopify cannot verify the domain, almost always because of one of the conflicts above.
- Recheck for extra A, AAAA or CNAME records.
- Confirm there is no CAA record that forbids the certificate authority Shopify uses. If you have CAA records, check Shopify's domain troubleshooting page for what to allow, or remove them if nobody knows why they exist.
- Click Verify connection again.
- If nothing changes after a day or two with correct records, contact Shopify support with screenshots of your DNS.
Keep your email safe
Connecting a domain to Shopify affects only web traffic. Email depends on records you should leave exactly as they are:
- MX records route incoming mail to Microsoft 365, Google Workspace or your host.
- TXT records with SPF, verification codes and DMARC.
- CNAME or TXT records for DKIM, often with names containing
_domainkey.
Before editing, take screenshots of the full DNS zone. If you are moving nameservers, for example from the old web host to the registrar, copy every email record across first. Changing nameservers without them is the classic way a business loses email for a day.
Final settings in Shopify
- Set the primary domain, usually www or the root, according to preference.
- Make sure "Redirect all traffic to this domain" is on so the myshopify.com address and the other variant forward to it.
- Visit both variants over http and https to confirm they redirect to the primary.
- Update links in social profiles and your Google Business Profile.
FAQ
Why does the domain work on our Wi-Fi but not on some phones?
Usually a leftover AAAA record or cached DNS. Remove old records and give caches time to expire.
Do we need to transfer the domain to Shopify?
No. Connecting keeps the domain at your registrar. Transfer is optional.
Can we keep the website on Shopify and email elsewhere?
Yes. That is the normal setup. Only the A and www CNAME records change.
Shopify claims the domain already belongs to a different shop. What now?
Disconnect it in that other shop's settings first. If you cannot reach that shop, Shopify's support team can release the domain once you show you own it.
If the records look right and the certificate still will not issue, send us a screenshot of your DNS so we can spot the record that is getting in the way.