Shopify domain guide
Shopify DNS records: the A record, AAAA and www CNAME values
What you’ll need
Your domain name (e.g. yourstore.com)
A login to your DNS provider (to make the changes it suggests)
How to get this: A login to your DNS provider
Settings › Domains › Connect existing domain, then A 23.227.38.65 and CNAME www → shops.myshopify.com.
The records
- A record, host @, value 23.227.38.65. Only one A record may exist.
- AAAA record, host @, value 2620:0127:f00f:5::. If your provider rejects the short form, use 2620:0127:f00f:0005:0000:0000:0000:0000.
- CNAME record, host www, value shops.myshopify.com. Many providers want the dot at the end.
- Other subdomains (shop, store) can have their own CNAMEs, each with a unique name.
Is 23.227.38.32 wrong?
No. When you connect, Shopify offers the best address for your region, so the last number can differ (23.227.38.32 and 23.227.38.68 are both valid). Any 23.227.38.x address Shopify gave you is a Shopify address.
What to delete
- Any other A record on @ (often a parking page from your registrar).
- Any other AAAA record on @ (often left by a previous website builder).
- A wildcard record (*) that points to Shopify. Add a record for each subdomain you use instead.
- A forwarding or “domain redirect” at your registrar that conflicts with the A record.
Check them in one go
- Open the Domain Connection Checker and type your domain without www.
- Read the first red item: it names the record to delete, add or change and the exact value.
- Make that change at your DNS provider (where you bought the domain, or Cloudflare). Leave TTL at the default.
- Tick “Check again every minute” and leave the tab open; the item turns green once the change is visible.
Questions
Do I need an SPF or MX record to connect the domain?
No. Connecting the domain only needs the A, AAAA and www CNAME records. Email records are separate: see the Email Authentication & DMARC Checker.