How to Connect Your Domain to Shopify

How to Connect Your Domain to Shopify

If you have an online store on Shopify and want to use your own domain (for example yourdomain.com), you need to configure two DNS records in cPanel so your domain points to Shopify's servers.

ℹ️ Note: This guide applies when your domain is registered or managed at Webzi and your website is hosted on Shopify. If your hosting is also at Webzi, you do not need to make these changes.

What you need

Step 1: Access the DNS Zone Editor

  1. Log in to cPanel.
  2. Search for and select Zone Editor.
  3. Choose the domain you want to connect to Shopify.

Step 2: Configure the A record (root domain)

This record connects your main domain (yourdomain.com) to Shopify's IP address. Find the existing A record and edit it with the following values:

Field Value
Type A
Name @ or yourdomain.com
Value / Points to 23.227.38.65
TTL 120 (or the default value)

Step 3: Configure the CNAME record (www subdomain)

This record ensures that www.yourdomain.com also points to Shopify. Find the www CNAME record and edit it:

Field Value
Type CNAME
Name www
Value / Points to shops.myshopify.com
TTL 120 (or the default value)

Step 4: Connect the domain in Shopify

Once the DNS records are configured in cPanel, you need to add the domain in your Shopify admin panel to complete the connection:

  1. Log in to your Shopify admin panel.
  2. Go to Settings → Domains.
  3. Click Connect existing domain.
  4. Enter your domain (for example: yourdomain.com) and click Next.
  5. Shopify will automatically verify that the DNS records are pointing correctly.

You can check Shopify's official guide here: Connect your external domain to Shopify manually.

Propagation time

DNS record changes can take anywhere from a few minutes to 48 hours to propagate globally. During this period, it is normal for the domain to work intermittently.

Records summary

Type Name Value TTL
A @ or yourdomain.com 23.227.38.65 120
CNAME www shops.myshopify.com 120

Need help?

If you have questions about the DNS configuration or Shopify verification, our support team can help: