Custom Domain Shopify: Connect or Buy in 6 Steps (2026)

How to add a custom domain to Shopify: the exact A, AAAA and CNAME records for a third-party domain, buying in Shopify, and fixes for SSL pending.

Short answer: To put a custom domain on Shopify, go to Settings > Domains in your Shopify admin and either buy a new domain there or choose Connect existing domain. For a domain you bought elsewhere, set one A record to 23.227.38.65, one AAAA record to 2620:0127:f00f:5::, and a www CNAME to shops.myshopify.com at your registrar, then wait for Shopify to show Connected. Shopify says this usually takes under two hours but can take up to two days (checked November 2026).

Buy in Shopify or connect a domain you already own?

Both routes end with the same result: your store loads on your own address and Shopify issues the certificate for you. The difference is who runs the DNS and who bills the renewal.

Buy in ShopifyConnect third-party domainTransfer to Shopify
Where to startSettings > Domains > Buy new domainSettings > Domains > Connect existing domainConnect existing, then choose transfer
DNS edits by youNoneA, AAAA and www CNAME at your registrarNone after the transfer completes
Who renews itShopify, annually, billed apart from your planYour registrarShopify, annually
SpeedUp to 48 hours to start workingUsually under 2 hours, up to 2 daysUp to 20 days
Good fit ifYou have no domain yet and want zero DNS workYou already own the domain or want to keep it at your registrarYou want everything under one login

A few details from Shopify's own pages worth knowing before you click Buy:

  • Domains bought through Shopify are registered for one year, auto-renew by default, and purchases are non-refundable.
  • The exact price depends on the extension you choose, and Shopify shows it in the search results when you look up a name. I have left out a figure because it varies by extension.
  • After purchase you cannot change the name you chose.
  • If you do not verify your email address within 15 days, the domain might be suspended.

If you are still comparing registrars, see our registrar comparison, and for general pricing, how much a domain costs.

How to connect a third-party domain to Shopify

This is the path most people searching "custom domain shopify" need. You make the DNS change first, then tell Shopify about the domain.

Step 1: Open your registrar's DNS settings

Log in where the domain is registered (or wherever its nameservers point) and open the DNS records page. Different providers label it "DNS," "Zone editor" or "Manage DNS." Shopify's support team cannot see these settings, so the edits have to happen here.

Step 2: Add the three records

TypeHost / NameValue
A@ (root)23.227.38.65
AAAA@ (root)2620:0127:f00f:5::
CNAMEwwwshops.myshopify.com.

Values are from Shopify's manual-connection page, checked November 2026. Notes from that page:

  • Delete any other A and AAAA records on the root. Only one of each is allowed.
  • Only one www CNAME is allowed, and it must point to Shopify.
  • Include the period at the end of the CNAME value if your host asks for it.
  • Leave TTL at the default.
  • If your host rejects the shorthand AAAA value, Shopify gives the long form 2620:0127:f00f:0005:0000:0000:0000:0000.

Because Shopify can change values, copy them from the Help Center page the day you do this rather than from any blog post, this one included.

Step 3: Add the domain in Shopify

  1. In Shopify admin, go to Settings > Domains.
  2. Click Connect existing domain.
  3. Enter the domain, such as example.com. Do not include www.
  4. Click Next, then Connect domain.

Step 4: Wait for Connected and for the certificate

Shopify lists the domain as Connected once it detects the records. The TLS certificate is issued automatically and can take up to 48 hours, during which the admin shows SSL pending or TLS pending. Avoid further DNS edits while you wait, since Shopify warns they can reset the propagation timer.

Step 5: Set the primary domain

Click the domain under Settings > Domains, then in the Type row click Change, choose Primary domain, and confirm. The domain must already show Connected. The previous primary domain becomes a redirect, and other domains on the store redirect to the new primary, so visitors and old links land in one place. If you are changing a long-standing address, keep the old one connected so those links keep working.

Step 6: Test it

Open the root domain and the www version in a private window, and confirm both land on your chosen primary with a padlock. A DNS lookup tool such as whatsmydns.net (which Shopify's troubleshooting page mentions) shows whether the records have spread.

Troubleshooting: when the domain won't connect

Shopify's troubleshooting page works through a checklist. Here it is as a copyable version:

  • [ ] Domain is active, not expired or suspended
  • [ ] Exactly one A record and one AAAA record on the root, both matching Shopify's values
  • [ ] Exactly one www CNAME pointing to shops.myshopify.com
  • [ ] No wildcard record pointing at Shopify
  • [ ] Cloudflare proxy is off (set every Shopify record to DNS only)
  • [ ] DNSSEC is turned off at your DNS provider
  • [ ] CAA records, if you have any, allow letsencrypt.org, pki.goog and ssl.com
  • [ ] You have not edited DNS again in the last few hours

Records that look right but fail

The most common slip is an old A record from a previous host sitting next to Shopify's. Registrars often pre-fill a parking page record when you buy a domain, so check for it. The second is a www record set as an A record or a CNAME to the wrong target.

Cloudflare

Shopify does not support the Cloudflare proxy. You can keep Cloudflare for DNS, but each record pointing at Shopify has to be set to DNS only, not proxied.

SSL pending for more than two days

Check CAA records first. A CAA entry that lists other certificate authorities, or a value of just a semicolon, blocks every authority and stops Shopify issuing the certificate. Add entries for letsencrypt.org, pki.goog and ssl.com, or remove the restrictive record. If everything checks out and the status still has not cleared, contact Shopify Support, which can look at the certificate on its side.

Domain already used on another Shopify store

Moving a domain from one store to another asks you to verify ownership with a TXT record or automatic verification. Remove the domain from the old store first if you can.

After the domain is live

A custom domain only helps if people find the store. Product pages, collection copy and structured data matter more than the address itself, and how Shopify fashion brands get customers from Google and ChatGPT covers that side. If your DNS steps look the same on a non-Shopify site, our general custom domain guide walks through the same idea with different values, and connecting a custom domain in our help center covers We.Inc specifically.

If you are weighing whether a hosted store is the right tool at all, Shopify alternatives lays out the options. Building a site on We.Inc is free, with no card needed to start; paid plans start at $20 a month. You can sign up here.

Frequently asked questions

Can I use a domain I bought from GoDaddy, Namecheap or another registrar with Shopify?

Yes. In Shopify admin go to Settings > Domains > Connect existing domain, enter the domain without www, then point your DNS at Shopify: an A record to 23.227.38.65, an AAAA record to 2620:0127:f00f:5::, and a www CNAME to shops.myshopify.com. (values as listed in Shopify's Help Center, checked November 2026).

How long does it take for a custom domain to work on Shopify?

Shopify says DNS changes usually take effect within two hours but can take up to two days, and that the TLS certificate can take up to 48 hours to be issued after you connect. The admin shows an SSL pending or TLS pending status until then (checked November 2026).

Does Shopify charge for connecting a domain I already own?

Shopify's domain pages describe connecting an existing domain as a settings change, not a purchase, and I found no connection fee stated. You still pay your registrar's renewals. Domains bought through Shopify renew annually and are billed separately from your Shopify plan.

Why does Shopify say my domain is connected but the site shows an error?

The usual causes are a leftover second A record, a missing or mistyped www CNAME, a Cloudflare proxy turned on for the Shopify records, a CAA record that blocks certificate authorities, or DNSSEC still enabled. Shopify's troubleshooting page lists each of these. Fix the record, then wait without making more changes, because extra edits can restart propagation.

Can I transfer my domain to Shopify instead of just pointing it?

Often yes. Shopify transfers apex domains such as example.com, requires the domain to be at least 60 days past registration or its last transfer, and says a transfer can take up to 20 days. Some extensions, including .co.uk, .de and .jp, cannot be transferred (checked November 2026).

More in Blog

Alternatives mentioned in this article

Related guides and tools

Start building

How we research, test and update this page: our editorial policy. We.Inc is our own product.

Product

Who It's For

Features

Resources

Company

View Sitemap