How to Connect Your Own Domain to Shopify
A step-by-step guide to pointing a domain you bought elsewhere at your Shopify store, with the DNS records, primary domain choice and email checks explained.
10 min readUpdated Nov 27, 2026By XPASS Editorial Team

Shopify is a hosted platform: the company runs the servers, and your job is to tell the world that your domain should lead to your store. That makes connecting a domain simpler than for a self-hosted shop, because there is no hosting panel, no file folder and no WordPress address to edit. What remains is a short sequence: add the domain inside Shopify, change a few DNS records where the domain is managed, wait for them to be noticed, and then choose which name is the main one.
This guide covers that sequence for a domain you already own, with the details that tend to go wrong: leftover records, the difference between the bare name and www, the primary domain setting, and email. If you run a self-hosted shop instead, compare the process with connecting a domain to WooCommerce, and if your store is a general WordPress site, see connecting a domain to WordPress. The Shopify path is shorter, but the same DNS basics apply to all of them.
What connecting a domain to Shopify means
A domain has three layers. The registrar holds the registration. The DNS zone says where each name goes; the Cloudflare introduction to DNS is a friendly summary and RFC 1034 is the original specification. The platform, here Shopify, has to know that a request for your name belongs to your store.
When you connect an existing domain, the ownership and the DNS stay where they are. You do two things: you register the name inside your Shopify admin so the platform expects it, and you change the DNS records so that visitors are sent to Shopify. The alternative, moving the whole domain to the platform so it manages everything, exists too, and is a separate decision with its own trade-offs. This article focuses on keeping the domain where it is and pointing it.

Before you start
Prepare these so the process is smooth:
- Admin access to your Shopify store, with permission to change domain settings.
- Login to the domain's DNS panel. Know who actually hosts your DNS: it may be the registrar, a separate DNS service or your website host. The nameserver setting tells you.
- A list of existing records. Export or screenshot them. You want to know what email, verification and subdomain records exist before you change anything.
- A decision about the primary name. Customers should see one main address, either example.com or www.example.com. Shopify will redirect the other one to it.
- A plan for the old site. If the domain currently serves another website, connecting it to Shopify will replace that website for visitors. Decide whether to keep a copy or redirect old pages.
If you still need to find or register a name, you should search for and register one before continuing, since Shopify can only connect a name that already exists.
Step 1: Add the domain in the Shopify admin
In the admin, open Settings and then Domains. Look for the option to connect an existing domain. Type your domain exactly as you want it, for example example.com, and confirm. Shopify then shows the DNS records you need. The wording and location of buttons change over time, so follow the labels you see rather than a memorised path.
Keep that page open or write down the values. Use the values the admin shows you, not the ones in a blog post, because platform addresses can change and the admin is the authoritative source. At the time of writing, the pattern is usually a single A record for the bare name and a CNAME record for www that points to a Shopify hostname, but the exact data belongs to the admin screen.
Step 2: Change the DNS records
Now open the DNS panel of whoever manages your domain.
| Record | Host | Value | Note |
|---|---|---|---|
| A | @ (bare name) | the address Shopify gives you | Replace any existing A record for the bare name |
| CNAME | www | the hostname Shopify gives you | Replace any existing www record |
| MX, TXT, others | various | leave as they are | Mail and verification records are unrelated |
Take care with these points:
- Remove conflicting records. A bare name should resolve to one place. Delete old A records that point to a previous host. If an AAAA record exists for the bare name or for www and it does not belong to Shopify, remove it too; otherwise visitors on IPv6 may reach the old server.
- Do not put a CNAME on the bare name. DNS rules do not allow it beside the records a root name must carry. Use the A record that Shopify specifies.
- Check the www record is a CNAME and not an A record unless the platform tells you otherwise.
- Look for forwarding or parking features. Some registrars add a default redirect or parked page that fights your records. Turn those off.
- Check CAA records. If your zone has CAA records, they limit which authority may issue certificates for the domain. The certificate that Shopify arranges has to be allowed. Ask support or remove restrictive CAA records if the certificate does not appear.
Lower the TTL of the records a few hours earlier if you can. TTL is how long resolvers cache an answer; a short value makes the change visible sooner and makes mistakes easier to correct.
Step 3: Verify and wait
Return to Shopify and use the verify or connect button. If the records are right, the status changes to connected. If not, the message normally says which name is wrong. Typical reasons are a record that has not propagated, an old record still present, or a typing slip in the value.
Propagation can take minutes or many hours depending on caches. Test from a phone on mobile data, which uses different resolvers than your home Wi-Fi. Avoid changing the records repeatedly while you wait, because every change restarts the cache clock.
Step 4: Choose the primary domain and redirects
Once both the bare name and www are connected, choose the primary one in the Domains settings. Shopify will redirect the other name to it, and it is the one used in links, sitemaps and many emails. Pick the one you want shown on packaging, social profiles and business cards.
Also check whether Shopify's default address, the one ending in myshopify.com, still redirects to your primary name. Having a single canonical address helps visitors and search engines see one shop rather than several copies. Google's SEO starter guide explains why consistent URLs matter.
If you want a name to lead to a different place, such as a blog on another platform, use a subdomain with its own record rather than the bare name.
Step 5: HTTPS and certificates
Shopify normally arranges a certificate for connected domains automatically after the records are correct. The method is the same family of automated issuance described in How Let's Encrypt works: the issuer checks that your name really points at the platform and then signs a certificate. You do not install anything yourself, though issuance can take some time after the connection.
If the padlock does not appear after a reasonable wait, check the usual suspects: conflicting A or AAAA records, a restrictive CAA record, or a proxy or forwarding service in front of the domain. A third-party service placed between visitors and Shopify can stop validation. Read the notes on SSL certificates if you are also managing certificates for other sites and want to understand how they compare.
Step 6: Keep business email working
Because you are changing only A and www records, email normally continues. Check that the MX records for your mailbox provider are still there, and that SPF, DKIM and DMARC TXT records remain unchanged. The trouble comes if someone switches the nameservers to a new DNS provider without copying every record.
Shopify can send store notifications on your behalf, such as order confirmations. Decide which sender address customers will see and whether you want a mailbox on your own domain for replies; the business email page shows how a domain mailbox is offered. After connecting the domain, send yourself a test order notification and a reply to confirm both directions work.

A plain example
Imagine Maya, who sells handmade candles. She bought mayacandles.example at an ordinary registrar months ago and has used a Shopify address to build the store.
She opens Settings, Domains in the admin and chooses to connect an existing domain, entering mayacandles.example. Shopify displays an A record and a CNAME for www. At the registrar she finds an old A record that pointed to a parked page and a forwarding rule that redirected to a social media page. She deletes both, creates the A record with the address Shopify displayed, and sets the www CNAME to the hostname Shopify displayed. Her MX records for the mailbox she already has stay untouched.
She returns to Shopify and presses verify. The first attempt says the domain is not yet connected; twenty minutes later it passes. She picks mayacandles.example as the primary domain, so www redirects to it. An hour afterwards the certificate is active and the padlock appears. She places a test order and replies to the confirmation from her mailbox. Everything works, and she keeps her notes of what the records used to be in case she ever needs to go back.
Subdomains and extra domains
Many stores end up with more than one name: a shorter brand name, a regional spelling, or a subdomain such as shop.example.com. Each name is connected the same way, by adding it in the admin and creating the records it asks for. For a subdomain, the record is normally a CNAME on the subdomain's own host name, which leaves the bare name free for another use. Secondary names can redirect to the primary one so that customers who type an alternative spelling still arrive at the same store. Keep the list short, because every extra name is one more renewal date and one more place where a record can go stale.
Final checks
Run through these before telling customers:
- The bare name and www both open the store and one redirects to the other.
- The browser shows a padlock on the home page, a product page and the checkout.
- The old Shopify address redirects to the primary name.
- A test order notification arrives in a normal inbox.
- Any old links from social profiles, printed material and marketplaces still land somewhere useful.
- Analytics, advertising and email marketing tools use the new address.
Limits and what to watch for
- Propagation takes time. Do not conclude that something is broken in the first few minutes.
- One platform per name. A domain cannot serve a Shopify store and another website on the same hostname at once. Use subdomains for separate sites.
- Intermediate services. A forwarding, parking or proxy service between the visitor and Shopify can break verification and certificates.
- Plan and feature rules. What a store plan allows for domains is decided by Shopify; check its current help pages and your plan details rather than assuming.
- Renewal. The store only works while the domain is registered. Keep automatic renewal on and the registrar's contact email current.
- Moving later. If you move away from Shopify, you will need to change the same records again, so keep a note of the original values. For a comparison with another builder, see connecting a domain to Wix.
Summary
Connecting your own domain to Shopify is mostly a DNS exercise: add the domain in the admin, replace the A and www records with the values Shopify gives you, remove conflicting or parked records, verify, then choose the primary domain. The certificate normally follows automatically once the records are right, and email keeps working as long as the MX and TXT records stay in place. Change one thing at a time, test from a clean browser, and keep a note of your original records.
When you want to pick or manage the domain itself, you can begin on the domains page.
Frequently asked questions
Do I have to buy my domain from Shopify to use it on my store?
No. You can keep a domain at any registrar and connect it by adding it in the Shopify admin and updating its DNS records as the admin instructs.
Which DNS records does Shopify ask for?
Typically an A record for the bare domain and a CNAME record for www pointing to a Shopify address. Always copy the exact values shown in your Shopify admin, because they are the source of truth.
Why does Shopify say the domain is not connected yet?
The records may not have propagated, an old A, AAAA or CNAME record may still conflict, or the www and bare names point to different places. Fix the records, wait, and verify again.
Will connecting the domain break my business email?
Not if you only change the A and www records. Keep your MX and TXT records. Mail breaks mainly when nameservers are replaced without copying the mail records.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Start your website the right way
Register a domain, add SSL and set up business email from one place.
.com registration from $18.81 for the first year
Start with a domainKeep reading

Website Guides
How to Connect Your Own Domain to WooCommerce
A practical walk-through for pointing a domain you own at a WooCommerce shop, from DNS records to HTTPS and order emails, with a checklist to test the result.
10 min read

Website Guides
How to Connect Your Own Domain to Wix
Connect a domain you registered elsewhere to your Wix site without breaking email. Compare the two methods, follow the steps and check the result.
10 min read

Website Guides
How to Connect Your Own Domain to WordPress
A practical walkthrough for connecting a domain you own to a WordPress site, whether it is hosted by WordPress.com or on your own hosting, including DNS, HTTPS and troubleshooting.
10 min read