Documentation

Connect a domain name to your Shopify store

Buy a domain from Shopify or connect the one you already own, set it as your primary domain and update your Story Theme license.

Your store starts with a .myshopify.com address. A domain name of your own (mystore.com) inspires more trust and is easier to remember. You can buy it directly from Shopify or connect a domain you bought elsewhere.

The Sylys demo store, running the Story Theme, published on its own domain name sylys.fr rather than on a .myshopify.com address
The Sylys demo store, running the Story Theme, published on its own domain name sylys.fr rather than on a .myshopify.com address

Option 1: buy the domain from Shopify

This is the simplest option: Shopify sets everything up and renews the domain with your subscription.

  1. In your Shopify admin, open Settings > Domains.
  2. Choose to buy a new domain.
  3. Enter the name you want and pick an available extension (.com, .co…).
  4. Confirm the purchase.

The domain is connected automatically, usually within a few minutes, and becomes your primary domain.

Option 2: connect an existing domain

If you bought your domain from another registrar (GoDaddy, Namecheap, IONOS, Squarespace…), it stays there: you just point it to Shopify.

  1. In Settings > Domains, choose to connect an existing domain.
  2. Enter your domain, for example mystore.com, and follow the instructions. For the most common registrars, Shopify can do the setup for you once you log in to your account with them.
  3. Otherwise, open your domain's DNS zone at your registrar and edit two records:
TypeNameValue
A@ (the bare domain)23.227.38.65
CNAMEwwwshops.myshopify.com
  1. Delete any other A or www CNAME records that point elsewhere (a registrar parking page, for example).
  2. Go back to Shopify and run the connection check.
Screenshot to take — Shopify admin > Settings > Domains > connecting an existing domain: verification screen showing the expected A (23.227.38.65) and www CNAME (shops.myshopify.com) records and their status

DNS changes can take up to 48 hours to take effect. Shopify then generates the security certificate (the https padlock) automatically.

Set the primary domain

The primary domain is the one shown in your customers' address bar. The store's other addresses (the .myshopify.com address, the version with or without www) redirect to it.

  1. In Settings > Domains, find your new domain in the list.
  2. If it isn't already marked as the primary domain, use the option to change the primary domain and select it.
  3. Choose the version with or without www: both work, what matters is not changing it afterward.
Screenshot to take — Shopify admin > Settings > Domains: list with the .myshopify.com address and the custom domain marked as primary domain

Then open your store with the old .myshopify.com address: you should be redirected to the new domain.

Update your Story Theme license

  1. Open My shops in your member area.
  2. Click Edit next to the store.
  3. In Domain, replace the old address with your primary domain, without https:// (for example mystore.com).
  4. Click Save.
The member area window where you enter the store's name and domain
The member area window where you enter the store's name and domain

The details, and what to do if the license still isn't recognized, are in Add your store and activate the license.

Frequently asked questions

My domain shows a security error

The certificate is created after DNS propagation. Wait a few hours; if the error is still there after 48 hours, check in Settings > Domains that both records are recognized.

Can I keep my current website while I get ready?

Yes: as long as you don't change the DNS records, your domain keeps showing the old website. Build the store on the .myshopify.com address, then connect the domain on launch day (see the checklist before you launch).

Go further