Why Use a Custom Domain?
Every Shopify store starts with a free yourstore.myshopify.com address. While functional, a custom domain like yourstore.com provides significant advantages:
- Brand credibility: Customers trust professional domains
- Memorability: Custom domains are easier to share and remember
- SEO benefits: Your own domain builds lasting search authority
- Email professional: Use
hello@yourstore.cominstead of generic email
A custom domain is essential for any serious Shopify merchant.
Buying a Domain: Shopify vs. Third-Party
Through Shopify
Pros:
- Automatic DNS configuration
- Built-in WHOIS privacy
- Seamless SSL activation
- Single dashboard for store and domain
Cons:
- Limited TLD selection
- Slightly higher prices for some domains
- Transferring away requires more steps
Through a Registrar (GoDaddy, Namecheap, etc.)
Pros:
- Wider TLD selection
- Often lower prices
- More DNS control
- Easier to transfer between registrars
Cons:
- Manual DNS configuration required
- Need to manage separate accounts
- Must configure security features yourself
For simplicity, buying through Shopify is recommended for new merchants. For more control, use a reputable third-party registrar.
Connecting an Existing Domain
If you already own a domain, connecting it to Shopify takes a few steps:
Step 1: Add the Domain in Shopify
- Go to Shopify Admin > Settings > Domains
- Click “Connect existing domain”
- Enter your domain name
- Click “Next”
Step 2: Configure DNS Records
At your registrar, add these DNS records:
A Record (root domain):
- Host: @ (or blank)
- Points to:
23.227.38.65
CNAME Record (www):
- Host: www
- Points to:
shops.myshopify.com
Step 3: Verify Connection
- Return to Shopify Admin > Domains
- Click “Verify connection”
- Wait for verification (can take up to 48 hours)
Step 4: Set Primary Domain
Once verified, set your custom domain as primary so customers see yourstore.com instead of yourstore.myshopify.com.
DNS Configuration Requirements
Shopify requires specific DNS settings:
- A record pointing to
23.227.38.65for root domain - CNAME pointing to
shops.myshopify.comfor www subdomain - Remove any conflicting A records or CNAMEs
If using Cloudflare, disable the proxy (orange cloud) for these records.
SSL Certificate Activation
After DNS is configured correctly:
- Shopify automatically provisions an SSL certificate
- This can take 24-48 hours
- Check status in Settings > Domains
- Once active, your site loads securely via HTTPS
You don’t need to purchase a separate SSL certificate.
Testing Your Configuration
Before announcing your new domain:
- Visit both URLs: Test
yourstore.comandwww.yourstore.com - Check for redirects: Both should redirect to your primary domain
- Verify SSL: Look for the padlock icon in your browser
- Test checkout: Complete a test purchase to ensure everything works
- Check email: Verify any domain-based email still works
How Recon Helps
Recon ensures your custom domain is set up securely by:
- Verifying DNS records are correctly configured
- Checking SSL certificate status
- Monitoring for configuration changes
- Alerting you to security issues with your domain setup
FAQ
Q: How long does it take to connect a domain?
A: DNS propagation typically takes a few hours but can take up to 48 hours. SSL activation adds another 24-48 hours. Plan for up to 4 days for complete setup.
Q: Can I use a domain I bought elsewhere with Shopify?
A: Yes. You can either connect the domain (keeping it at your registrar) or transfer it to Shopify. Connecting is faster; transferring gives you simpler management.
Q: What happens to my old myshopify.com URL?
A: It continues working and automatically redirects to your custom domain. This ensures old links and bookmarks still work.
Want us to monitor this for you?
Run a free brand security audit with Recon and see your vulnerabilities in minutes.
Run Free AuditRelated Articles
Domain Expiration: Don't Let Your Shopify Store Disappear
Learn the risks of domain expiration and how to protect your Shopify store from going offline unexpectedly.
Third-Party App Security for Shopify Stores
Evaluate the security of Shopify apps and protect your store from data breaches through third-party integrations.