Adding a third-party domain - quick guide
The best way to add use a third-party domain to your Shopify store depends on where you bought the domain.
Domains use a lot of complicated terminology, but in practice there are only two things you need to connect a domain to Shopify:
- The main part of your domain, such as
shopify.com
, should point to Shopify's IP address:23.227.38.65
. - Anything extra before your root domain, such as
www
forwww.shopify.com
orshop
forshop.shopify.com
, should point toshops.myshopify.com
.
Each domain provider has different requirements for their settings. Contact your third-party domain provider or review their documentation on how they need domains to be configured.
Shopify Support can't access your third-party domain's settings. If you're having trouble setting up your domain, then you must work with your domain provider. Shopify Support can only advise you on what to tell your domain provider.
If you want Shopify Support to be able to help with your domain settings, then transfer your domain to Shopify instead.
GoDaddy, Google, and 1&1 IONOS domains
If you purchased your domain through GoDaddy, Google, or 1&1 IONOS, then you can set up your domain automatically.
All other domains
Because each domain provider is different, Shopify Support can't advise you on what to put in each field of your domain's settings. Here's what you need to know to review your domain provider's documentation and determine what to put into each field, or to contact their support team:
- The root domain needs an A record pointing to
23.227.38.65
. - The root domain can't be pointing to any other A records.
- Any subdomain needs a CNAME record pointing to
shops.myshopify.com
. - The domain's nameservers should be the default for your provider.
After you change your domain settings, it can take 48 hours for the internet to reflect the new settings.
Check if your domain is ready to add to Shopify
It can take 48 hours for any changes to a domain to be recognized across the internet. You can check if your domain is ready to be added to your Shopify account using who.is.
Steps:
- Go to who.is.
- Enter the root of your domain, such as
shopify.com
. - Click
DNS Records
. - Look for the following records:
-
Type of
A
with Content of23.227.38.65
-
Type of
CNAME
with Content ofshops.myshopify.com
-
Type of
If those records are not listed, or there is another record on your root domain with a Type of A and a Content of a different IP address, then your domain is not ready to connect to Shopify. If it has been over 48 hours after you changed the settings, then contact your domain provider.
If those records are listed, then you are ready to add the domain to your Shopify account.
Add a domain to your Shopify account
After your domain is ready, you can add it to your Shopify account.
Steps:
- From your Shopify admin, go to Online Store > Domains.
- Click Connect existing domain.
- Enter the domain that you want to connect, such as
johns-apparel.info
. - Click Next.
- Click Verify connection.
Connect only a subdomain to your Shopify store
A subdomain is a subset of your root domain at the beginning of a URL. For example, in the URL shop.johnsapparel.com
, shop
is the subdomain. You can set up a third-party domain to have the root domain point to a different website and a subdomain point to a Shopify store. For example, you could have shop.johns-apparel.com
pointing to your Shopify store, but johns-apparel.com
pointing to a different website.
Setup
To connect a subdomain, complete the following steps.
- Log in to the account that you have with your third-party domain provider.
- Find your DNS settings. Look for your domain management area, DNS configuration, or similar.
- Find the CNAME record in your DNS settings. The name of the CNAME record should match the subdomain that you're connecting to your Shopify store. For example, if you want the subdomain
shop.johns-apparel.com
to point to your Shopify store, then find yourshop
CNAME record. - Configure the CNAME record to point to
shops.myshopify.com
. Some domain providers might need you to provide the whole subdomain with the dot, such asshop.
instead ofshop
. Use the existing entries as a guide, or follow your domain provider's instructions. CNAME records must always point to a domain name, never to an IP address. - From your Shopify admin, go to Online Store > Domains.
- Click Connect existing domain and then follow the steps.
- Click Verify connection in your Shopify admin to confirm that your custom domain is connected to your store.
Troubleshooting
If you receive an error about a missing A record when adding your subdomain to Shopify, then complete the following steps:
- From your Shopify admin, go to Online Store > Domains.
- Click Connect existing domain.
- Enter your subdomain, then click Next.
- Click Verify connection.
- Click Verify again.
- In the Connection incomplete banner, click Add domain.
- On your Domains page, remove the root domain for the domain.