Project portfolio Browse selected work

Shopify Plus: up to US$4,800 development credit

Guide

Connect a Custom Domain to Shopify: DNS, HTTPS, Launch, and SEO Acceptance

Published: Editorial review: 2026-08-13

Connecting a custom domain to Shopify is a controlled change involving DNS, Shopify verification, primary-domain selection, HTTPS, and end-to-end acceptance testing. It is not complete when one record has been copied. Existing mail records, DNS proxies, international domains, and a previous storefront can all change the work required.

Preserve the current state first

Export the DNS zone or capture every record before editing it. Preserve MX, TXT, DKIM, DMARC, and third-party verification records. Record the current primary domain, www behavior, email provider, legacy URLs, and rollback owner. An unfamiliar record is not evidence that it is safe to delete.

AreaPre-change questionAcceptance evidence
apex domainAre A or AAAA records conflicting?public DNS lookup
wwwIs there one intended CNAME?resolved target
emailAre MX and authentication records retained?send and receive tests
marketsWhich domain, subdomain, or subfolder serves each market?market-by-market browser test
legacy siteWhich URLs must survive the move?URL inventory and status codes

Connect through the DNS provider

A third-party domain is changed in the registrar or DNS provider, not inside the theme. Follow the values displayed in Shopify's current documentation or domain diagnostics instead of retaining an IP copied from an old article. Shopify notes that the most appropriate IP can vary by region. The common configuration points the apex to Shopify and sets www as a CNAME to shops.myshopify.com. If a proxying DNS service is used, confirm that its proxy mode is not hiding the intended records during verification.

After saving, connect the existing domain in Shopify. DNS propagation is not a single countdown. Provider refresh times, recursive resolvers, and local caches differ, and Shopify advises allowing up to 48 hours. Repeatedly changing records during this period makes the active configuration harder to diagnose.

Treat connection and launch as separate gates

After choosing the primary domain, test HTTP, HTTPS, apex, and www. Each should reach the intended secure URL without loops or unnecessary hops. Complete product, collection, search, cart, checkout, account, and policy journeys. For a migration, sample legacy redirects and verify canonical URLs, internal links, structured data, analytics, and Search Console properties.

International stores should reconcile the domain design with Shopify Markets and multilingual storefront setup. Do not leave multiple country domains serving the same indexable content without a deliberate primary relationship, and do not publish an SEO-only language version that customers cannot use.

SEO and GEO acceptance

A connected domain is not a ranking improvement by itself. Search systems need stable final URLs, crawlable pages, clear canonical versions, accurate migration redirects, and useful content. Generative systems also benefit from consistent brand, market, policy, contact, and product facts. Monitor crawling and indexing in Search Console after launch; do not promise a guaranteed indexing date.

Diagnose common failures systematically

If only some networks fail, compare A, AAAA, and CNAME answers from several public resolvers. If Shopify reports a connection but the browser shows a certificate problem, inspect the final hostname, DNS proxy mode, and certificate state. If the storefront works while mail fails, restore and validate MX and authentication TXT records instead of continuing to edit website targets. Record every old value, new value, time, and operator so several people do not test conflicting fixes.

Repeat a complete acceptance pass after DNS has stabilized. Retain renewal ownership, account recovery, multifactor authentication, and an emergency contact. A domain is a core storefront asset; a technically correct connection with unmanaged account access remains a material risk.

FAQ

Can Shopify sign in to my domain provider and edit DNS?

No. Shopify can describe the required values, but the owner controls a third-party DNS account and its records.

Why does Shopify still report a connection problem after I saved the records?

Propagation, conflicting records, proxying, or editing the wrong authoritative DNS zone are common causes. Check the public DNS response first.

Should every AAAA record be deleted?

No. Compare the live record with Shopify's current domain instructions and your existing services. Do not follow an old blanket instruction.

Can the domain connection break business email?

Correct website-record changes should not. Deleting or replacing MX, SPF, DKIM, or DMARC records can.

Should both apex and www be connected?

Usually yes. Choose one primary version and make the other resolve or redirect predictably so that two competing copies are not exposed.

Sources