Shopify Custom Domain Setup: The Complete Guide

A custom domain helps build trust and strengthens your brand before your store goes live. This Shopify custom domain setup guide covers everything from connecting a domain to configuring DNS and fixing common issues. With step-by-step instructions from NextSky, you'll be ready to launch your Shopify store with confidence.

How to Add a Custom Domain to Shopify

Option 1: Buy a Domain Through Shopify

This is the simplest path. Shopify registers the domain on your behalf and automatically configures all DNS records. You don't have to touch anything technical.

Step 1: Go to Settings > Domains

Log into your Shopify admin. In the bottom-left corner, click Settings, then select Domains.

Step 2: Click "Buy new domain"

Enter the domain name you want. Shopify will show availability and suggest alternatives if your first choice is taken. Extensions like .com, .net, .co, .shop, and others are available at varying price points — .com typically starts around $15–$20/year.

Step 3: Complete the purchase 

Review the payment details, including:

  • Auto-renew: Recommended. Letting a domain expire is one of the easier ways to lose it.
  • WHOIS Privacy: Keeps your personal contact information off public domain records. Availability depends on the extension.

Step 4: Set it as your primary domain 

After purchase, Shopify connects the domain automatically. To make it the address customers see, click Set as primary next to the new domain.

That's it. Shopify-managed domains handle everything behind the scenes A records, CNAME records, SSL certificates, without any input from you.

Option 2: Connect a Third-Party Domain to Shopify

If you already own a domain through GoDaddy, Namecheap, Google Domains, or another registrar, you can connect it to Shopify by updating its DNS records. This keeps the domain registered with your current provider while pointing it at Shopify's servers.

Step 1: Update DNS records at your registrar

Log into your domain registrar's dashboard and navigate to the DNS settings for your domain. You need to make two changes:

Record Type

Name/Host

Value

A Record

@ (root domain)

23.227.38.65

CNAME Record

www

shops.myshopify.com .

Important details:

  • Your A record should point to 23.227.38.65, Shopify's current IP address. Delete any other A records for the root domain that might conflict.
  • The CNAME record for www should point to shops.myshopify.com (include the trailing period if your registrar requires it).
  • Leave the TTL (time-to-live) at its default value. There's no need to change it.
  • Do not add a wildcard record (*. yourdomain.com ) pointing to Shopify — this can cause unexpected behavior.

Step 2: Connect the domain in Shopify

  1. In your Shopify admin, go to Settings > Domains.
  2. Click Connect existing domain.
  3. Enter your domain name (e.g., yourstore.com ), do not include www.
  4. Click Next, then Connect domain.

Step 3: Set as primary

Once Shopify verifies the connection, click Set as primary to make this domain the address your customers see. Shopify automatically redirects the www version and your old . myshopify.com address to your primary domain.

How long does it take? DNS changes propagate across the internet gradually. Most updates take effect within 1–4 hours, but the full propagation window is up to 48 hours. You can check your DNS status using a tool like dnschecker.org , look for your A record resolving to 23.227.38.65 and your CNAME resolving to shops.myshopify.com .

Option 3: Transfer Your Domain to Shopify

Transferring moves the domain's registration from your current registrar to Shopify, so you manage everything DNS, renewal, and settings, from your Shopify admin. This makes sense if you want to simplify your workflow and keep everything in one place.

Note: domains must be at least 60 days old before they can be transferred (ICANN policy), and the transfer requires an authorisation code from your current registrar.

Step 1: Unlock your domain and get the authorisation code

At your current registrar:

  • Disable the domain lock (also called registrar lock or transfer lock)
  • Request the EPP/authorisation code  this is a security string your registrar provides to authorise transfers

Step 2: Initiate the transfer in Shopify

  1. Go to Settings > Domains in your Shopify admin
  2. Click Transfer domain
  3. Enter your domain name and click Start Transfer
  4. Enter the authorization code when prompted

Step 3: Confirm the transfer

Your current registrar will send a confirmation email. Approve the transfer, and Shopify will complete it — typically within 5–7 days, though it can be faster.

Step 4: Set up domain forwarding (optional)

If you want an old domain to redirect visitors to your new store, you can set up domain forwarding. In your Shopify admin under Domains, find the old domain, click Domain settings, and enter your new store URL in the forwarding field.

How to change your primary domain

If you've added multiple domains (Shopify allows up to 20) and want to switch which one customers see:

  1. Go to Settings > Domains in your Shopify admin
  2. Click Change primary domain
  3. Select your preferred domain from the list
  4. Click Save

All other connected domains automatically redirect to the primary domain — no additional configuration required.

Best practices for long-term domain management

  • Enable auto-renew: A lapsed domain can be snatched by someone else immediately after expiration. Auto-renewal is a minor annual charge that protects a significant business asset.
  • Monitor both your root domain and www subdomain: Shopify's Domains page shows status for both. It's worth checking periodically — especially after any changes — to confirm both are connected and SSL is active.
  • Keep your registrar account details current: Renewal reminders go to your registrar account's email address. If that email becomes inaccessible, you may miss renewal notices.
  • Connect Google Search Console to your custom domain: This gives you access to performance data specific to your domain, which is essential for tracking how your SEO investment is performing over time.
  • Be consistent across marketing channels: Use the same domain everywhere — email signatures, social bios, packaging, ads. Inconsistency fragments your brand recognition and can confuse potential customers about whether they're in the right place.

Comments

Looking for Help?
Get support from our team

If you can't find the answer you're looking for, our support team is here to help.