Ecom Store Pro

Do you need to change nameservers to connect a domain to Shopify?

Published ·
At a glance
Short answer
No: keep your DNS host's nameservers and point the A, AAAA and www CNAME records at Shopify; a Shopify-managed domain needs Shopify's defaults.
DNS at Cloudflare
No move back needed; set every record pointing to Shopify to DNS only
Shopify-managed domain
Default Shopify nameservers required; email forwarding troubleshooting asks you to verify them
Where you connect
Settings > Domains > Connect existing, after the records change

Do you change nameservers for a third-party domain?

No. Shopify states the nameserver rule itself:

Use your domain provider's default nameservers unless you manage your DNS somewhere else. Custom or external nameservers can cause connection and email problems when they aren't set up correctly.
Shopify Help Center — Connect your third-party domain to Shopify manually ·

You connect it with DNS records at whoever hosts your DNS: the A record to 23.227.38.65, plus the AAAA and www CNAME records. Your domain provider stays the registrar, with billing and renewals.

Then, in your Shopify admin, open Settings > Domains, click Connect existing and enter the domain without www.

In Shopify adminOpen in your store
  1. Settings
  2. Domains
The dialog's first step asks only for the domain, not nameservers.

What if Cloudflare or another provider already hosts your DNS?

Leave the nameservers there. Shopify doesn't need you to move back to your registrar's defaults, but your nameservers must respond and publish the Shopify records: a domain with unreachable nameservers can't connect.

Before you add the Shopify records in Cloudflare
Set every record that points to Shopify to DNS only; proxy setups, including Orange-to-Orange, aren't supported. Keep the records for mail and other subdomains. See what to check if SSL stays pending.

Does a Shopify-managed domain need Shopify's nameservers?

Yes. It must keep Shopify's default nameservers, whether bought through Shopify or transferred in. Shopify's troubleshooting checklist for a missing email forwarding option asks you to verify that the domain uses Shopify nameservers.

An unexpected nameservers alert means the domain returns values different from your admin's, sometimes because of a hold, and customers may not reach the store: contact Shopify Support.

Before you transfer a domain into Shopify, save your custom DNS records, such as MX: Shopify won't copy them.

About This Article

Related questions

Domains & email
What happens to your DNS records when you reset DNS settings on a Shopify-managed domain?

A DNS reset on a Shopify-managed domain deletes every record but the A, AAAA and CNAME record, each pointed back to Shopify; subdomain CNAMEs go too.

October 15, 2026

Domains & email
What IP address does Shopify use for a custom domain?

Third-party domain: point the A record to 23.227.38.65, add the AAAA record and a www CNAME to shops.myshopify.com; the IP ending can vary by region.

October 10, 2026

Domains & email
How long does SSL pending last on a Shopify domain?

Shopify says up to 48 hours for a third-party domain to go live, with "SSL pending" meanwhile; then check DNS before contacting Support.

October 10, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.