Setup guide

How to connect your domain to Shopify

In your Shopify admin go to Settings › Domains › Connect existing domain and enter your domain without www. A Cloudflare, GoDaddy or IONOS domain connects automatically after you sign in; anywhere else, point the A record at 23.227.38.65, the AAAA record at 2620:0127:f00f:5:: and the www CNAME at shops.myshopify.com, and leave your email records alone. It usually connects within two hours (up to 48), then you make it the primary domain.

Steps, menu names and DNS values checked against Shopify’s Help Center on 29 November 2026.

Before you start

  • Connect, don’t transfer, on launch day. Connecting changes a few DNS records and your domain company stays in charge of billing and renewals; a transfer can take up to 20 days, costs a year’s renewal, and isn’t possible within 60 days of a registration or transfer. You can transfer to Shopify later.
  • Have the login for the company that runs your domain’s DNS. That’s usually where you bought it (GoDaddy, Namecheap, Squarespace Domains, Wix), or Cloudflare if you moved your DNS there.
  • Screenshot every DNS record first. MX, TXT, SPF, DKIM and DMARC records run your email and verifications and must stay exactly as they are.
  • Optional: lower the TTL of the A and www records to 300 seconds a day ahead. Shopify says the default TTL works; a short one makes the switch, and any fix, show up sooner.
  • Import your URL redirects before you connect, so old links work from the first minute.

Connect automatically (Cloudflare, GoDaddy, IONOS)

  1. Open Domains. In your Shopify admin, go to Settings › Domains and click Connect existing domain.

  2. Enter your domain. Type your domain, such as example.com, without www, and click Next.

  3. Connect automatically. Click Connect automatically, sign in to your Cloudflare, GoDaddy or IONOS account, click Connect, then Close.

Connect manually at any other domain provider

Shopify Support can’t see your domain provider’s settings; if a field is unclear, your provider’s support can change the records for you.

  1. Open your DNS settings. Sign in at your domain provider and open the DNS settings or domain management page for your domain.

  2. Point the A record at Shopify. Set the A record with host @ to 23.227.38.65. Delete any other A records on the bare domain: with two, some visitors reach the old site.

  3. Point the AAAA record at Shopify. Set the AAAA record with host @ to 2620:0127:f00f:5::. If your provider rejects that short form, enter 2620:0127:f00f:0005:0000:0000:0000:0000. Delete any other AAAA records.

  4. Point www at Shopify. Set the CNAME record with host www to shops.myshopify.com. including the final dot if your provider accepts it. There can be only one www CNAME.

  5. Save, and leave everything else alone. Save your changes. Don’t touch MX, TXT or other CNAME records (mail, autodiscover, verification). Leave the TTL at its default unless you lowered it on purpose.

  6. Connect it in Shopify. In Shopify go to Settings › Domains › Connect existing domain, enter the domain without www, click Next, then Connect domain.

The records Shopify needs
Type   Host   Value
A      @      23.227.38.65
AAAA   @      2620:0127:f00f:5::
CNAME  www    shops.myshopify.com.

Wait for Connected and the SSL certificate

  • DNS changes usually show within two hours and can take up to 48. Don’t keep changing records while you wait: each change starts the wait again.
  • Shopify issues a free SSL certificate once the records point at it. Until then, Settings › Domains shows SSL pending. You can’t use your own certificate on Shopify.
  • Shopify may show an A record ending in another number, such as 23.227.38.32, as the best for your region. That’s still valid.
  • Still SSL pending or SSL unavailable after 48 hours? Check for a second A or AAAA record, a wildcard (*) record pointing at Shopify, DNSSEC switched on at your registrar, Cloudflare’s proxy, or a CAA record that doesn’t allow letsencrypt.org, pki.goog and ssl.com.

Make it the primary domain

  1. Open the domain. Settings › Domains, then click the domain you just connected.

  2. Change its type. In the Type row click Change, select Primary domain and click Change domain type.

Check it worked

  • Settings › Domains shows your domain as Connected and as the primary domain.
  • https://yourdomain.com opens your Shopify store with a padlock and no security warning (after you remove the store password).
  • The www (or non-www) version and your-store.myshopify.com each land on the primary domain in one redirect.
  • whatsmydns.net shows 23.227.38.65 for the A record and shops.myshopify.com for www in most places.
  • Email still works: send a message to your business address from another account, and reply to it.

Tools that need this

More setup guides

Sources

Updated .