How to Connect a Domain to Shopify
Connecting an existing domain to Shopify takes two DNS changes done carefully. Here is the exact method and the verification step.
Watch out: Shopify's A record IP (23.227.38.65) is stable and documented; if an old tutorial shows a different IP, use Shopify's admin value.
Connecting your domain, step by step
- 1 Add the custom domain. Shopify admin, Settings, Domains: Connect existing domain.
- 2 Point the records. A record at @ to 23.227.38.65, and CNAME www to shops.myshopify.com (the exact address Shopify displays).
- 3 Verify in Shopify. Domains page shows Connected once records propagate; SSL is issued by Shopify automatically.
Frequently asked questions
Keep my email working?+
Yes: only add/replace the A and www records Shopify needs; leave MX/SPF/DKIM untouched.
How long do DNS changes take in Shopify?+
The provider serves new values quickly, but resolvers keep old answers until each record's TTL expires. Verify live values with the record lookup, then watch the propagation checker until resolvers agree.
Where do I find Shopify's nameservers?+
This playbook's nameservers guide covers the exact location. They are the delegation pair your registrar must point at for Shopify to be authoritative.
Should I lower TTL before changing records in Shopify?+
Yes, for anything planned: set TTL to 300 seconds at least one old-TTL cycle ahead, make the change, confirm propagation, then restore the TTL.
Can I keep email with one provider and DNS in Shopify?+
Yes: DNS host and mail provider are independent. Publish the mail provider's MX, SPF, DKIM, and DMARC records in Shopify, and keep those records unproxied.
Verify your work: confirm every record with the DNS record lookup and check changes worldwide with the propagation checker.
Last verified: 2026-12-02