Connect Hostgator Domain To Shopify
If your domain name was registered through a 3rd-party domain registrar, you need to accomplish two things to successfully link your domain to your Shopify store.
- Add Shopify’s Resource records in the domain’s DNS.
- Set up or add your domain through Shopify.
Based on Shopify’s help center, here are the the DNS records you need to add/modify:
- A record should point to Shopify’s IP address, which is 23.227.38.65
- www CNAME record should point to shops.myshopify.com
How or where can you add these DNS resource records?
DNS records can be added or modified through the domain’s DNS provider, the process varies depending who’s hosting it.
1.) Add Shopify’s Resource Records
If you’re using Hostgator to manage the DNS of your domain, follow the steps below to redirect your domain to Shopify.
If not, check who the DNS provider of your domain and contact their support team to request adding these DNS resource records:
Host Name | Type | Data |
@ (domain.com) | A | 23.227.38.65 |
www (www.domain.com) | CNAME | shops.myshopify.com |
Hostgator: Creating A Record
1. Log in to cPanel.
2. In the Domains section, click Advanced DNS Zone Editor.
3. Select the domain from the dropdown menu that you wish to use.
4. Go to the Add a Record section.
5. Provide the name example.com for the A Record, TTL, and add Shopify IP Address 23.227.38.65.
6. Click Add Record.
Hostgator: Creating CNAME Record
1. Log in to cPanel.
2. In the Domains section, click Advanced DNS Zone Editor.
3. Select the domain from the dropdown menu that you wish to use
4. Go to the Add a Record section.
5. Provide the name www, TTL, and CNAME value shops.myshopify.com.
6. Click Add Record.
2.) Add Custom Domain in Shopify
Once you’re done adding the DNS records, you may now add your domain name to your Shopify account.
- Go to Shopify and Login to your account.
- Select Online Store in the dashboard.
- Click Domains.
- Click on Connect existing domain.
- Enter your custom domain name (example.com).
- Click Next.
- Click Verify Connection.
3.) DNS Propagation Delay
If Shopify is unable to verify the DNS records yet, give it several more minutes before attempting to verify the connection again.
Any DNS changes may take from few minutes up to 48 hours to fully take effect across the entire internet.
Given that the DNS is properly configured, you will definitely see your custom domain name integrated with your Shopify website soon.
Check out this post if you have another domain from a third party domain registrar that you wish to connect with Shopify.
Some of the links on the Website may be "affiliate links". This means if you click on the link and sign up or purchase an item, I may receive an affiliate commission at no cost to you. Please check Disclaimer for more info.