Connecting a custom domain to Shopify takes 5-15 minutes by configuring DNS A records (23.227.38.65) and CNAME records (shops.myshopify.com). Having your own domain increases credibility by 84%, improves SEO, and strengthens branding compared to using a subdomain like myshopify.com.
Why do you need a custom domain on Shopify?
A custom domain is essential for credibility, SEO, and professional branding.
- Credibility: example.com conveys professionalism; example.myshopify.com seems temporary
- Improved SEO: Owned domains have greater authority and better ranking on Google
- Consistent branding: Reinforces brand identity across all channels
- Customer trust: 84% of consumers do not buy from sites without their own domain (Verisign 2024)
- Professional email: Use emails @yourdomain.com instead of generic Gmail
- Portability: You maintain your domain and SEO authority if you change platforms.
Options for Obtaining a Domain
You have two options: buy from Shopify or connect an external domain.
Option 1: Buy a Domain on Shopify
- Advantages: Automatic configuration, centralized management
- Cost: $14 USD/year for .com
- Process: Admin → Settings → Domains → Buy new domain
- Ideal for: Beginners with no technical experience
Option 2: Connect External Domain
- Advantages: You maintain your existing domain, and have greater DNS control.
- Requires: Manual configuration of DNS A and CNAME records
- Ideal for: Those who already have a domain from GoDaddy, Namecheap, etc.
How to Connect an External Domain: Step by Step
Step 1: Add Domain to Shopify
- Go to Settings → Domains
- Click Connect existing domain
- Enter your domain (example: yourstore.com)
- Shopify will display the necessary DNS records.
Step 2: Configure DNS Records
Add these two records to your domain provider:
A record (root domain)
- Type: A Record
- Host: @
- Value: 23,227,386.5
- TTL: 3600
CNAME Registry (www)
- Type: CNAME
- Host: www
- Price: shops.myshopify.com
- TTL: 3600
Important: Delete existing A or CNAME records for @ and www before adding the new ones.
Step 3: Verify Connection
- Return to Shopify → Settings → Domains
- Click on Verify connection
- If it is successful, you will see a "Connected" status.
Step 4: Establish Primary Domain
- In Settings → Domains, click Change primary domain
- Select example.com or www.example.com
- Shopify will automatically redirect all variants
DNS Configuration by Provider
GoDaddy
- Log in to GoDaddy.com
- Go to My Products → Domains → DNS
- Add record A: Type: A, Name: @, Value: 23.227.38.65
- Add CNAME record: Type: CNAME, Name: www, Value: shops.myshopify.com
- Remove conflicting records (parking page)
Namecheap
- Log in to Namecheap.com
- Go to Domain List → Manage → Advanced DNS
- Add record A: Host: @, Value: 23.227.38.65
- Add CNAME record: Host: www, Value: shops.myshopify.com
- Remove Parking Page and URL Redirect
Google Domains (Squarespace)
- Log in to domains.squarespace.com
- Go to DNS → Manage custom records
- Add record A: Host: @, Data: 23.227.38.65
- Add CNAME record: Host: www, Data: shops.myshopify.com
Cloudflare
- Go to DNS → Records
- Add record A: Name: @, IPv4: 23.227.38.65, Proxy: DNS only (gray)
- Add CNAME record: Name: www, Target: shops.myshopify.com, Proxy: DNS only
- Critical: Disable Shopify SSL proxy (gray cloud)
DNS Propagation Times
DNS changes require global propagation time.
- Minimum: 15 minutes to 1 hour
- Average: 4-8 hours
- Maximum: Up to 48 hours
Verify Propagation
- WhatsMyDNS.net: Verify from multiple global locations
- DNSChecker.org: Checks A and CNAME records
- Terminal: nslookup yourdomain.com or dig yourdomain.com
During Propagation
- Do not make any additional changes
- Flush DNS cache: Windows (ipconfig /flushdns), Mac (sudo dscacheutil -flushcache)
- Use incognito mode to check
- Wait 24 hours before troubleshooting
Automatic SSL Certificate
Shopify generates free SSL certificates automatically using Let's Encrypt.
SSL Process
- Shopify begins SSL generation after verifying domain
- It takes 24-48 hours after DNS propagation.
- Automatic renewal every 90 days
- You'll see a green padlock when it's active.
Verify SSL
- Shopify: Settings → Domains → badge "SSL secured"
- Browser: Green padlock in address bar
- SSL Labs: ssllabs.com/ssltest for full analysis
HTTPS Redirection: Shopify automatically redirects HTTP to HTTPS without additional configuration.
Subdomains and International Domains
Connect Subdomains
- In Shopify: Settings → Domains → Connect existing domain
- Enter the complete subdomain (store.example.com)
- In DNS: Add CNAME: Host: store, Value: shops.myshopify.com
International Domain Names (IDNs)
- Shopify supports special characters (ñ, ü, é)
- Configuration identical to standard domains
- Automatic conversion to Punycode
Multiple Domains
- Up to 10 domains per store (20 with Shopify Plus)
- All redirect to the main domain via 301
- Define a primary domain for SEO
Troubleshooting: Common Problems
"Domain is already connected to another Shopify store"
Solution:
- Disconnect previous store domain (Settings → Domains → Remove)
- If you don't have access, contact Shopify Support with proof of ownership.
- Wait 24 hours before reconnecting
"We couldn't verify your domain"
Solution:
- Verify that the A (23.227.38.65) and CNAME (shops.myshopify.com) records are accurate.
- Remove conflicting records (parking pages, redirects)
- Wait 24-48 hours for propagation
- Use WhatsMyDNS.net to verify
"SSL pending" for more than 48 hours
Solution:
- Verify correct DNS records
- If you have CAA records, add: 0 issue "letsencrypt.org"
- In Cloudflare, disable proxy (gray cloud)
- Disconnect and reconnect domain
Blank Page or Error 404
Solution:
- Clear browser cache (incognito mode)
- Clear local DNS cache
- Check which topic is published
- Check that the store is not password protected.
Infinite Redirection (301 Loop)
Solution:
- Remove URL forwarding at domain provider
- Use only A and CNAME records, no HTTP redirects
- On Cloudflare, disable the proxy completely.
- Check apps that can create redirects
It works without WWW but not with WWW
Solution:
- Verify that you have BOTH records: A for @ and CNAME for www
- The CNAME file must point to shops.myshopify.com (not IP address).
- Wait for full propagation
- Set primary domain in Shopify
Transfer Domain to Shopify
Requirements
- Domain with more than 60 days since registration
- Domain unlocked at current provider
- EPP code/Auth code of the provider
- Accessible administrative email
Process
- Unlock domain and get EPP code
- In Shopify: Settings → Domains → Transfer domain
- Enter EPP code
- Confirm by email
- Please allow 5-7 business days
- Shopify charges $14 USD for an additional year
Advantages
- Centralized management
- Automatic DNS configuration
- Simplified renewal
- Unified support
Disadvantages
- Without email hosting (requires Google Workspace or similar)
- Fewer advanced DNS options
- A transfer is required if you change platforms.
Professional Email with your Domain
Shopify does not offer email hosting. It uses external services:
Google Workspace
- Cost: $6 USD/month per user
- Includes: Gmail, Drive (30GB), Calendar, Meet, Docs
- Configuration: Add MX records to DNS
Microsoft 365
- Cost: $6 USD/month per user
- Includes: Outlook, OneDrive (1TB), Office apps
Zoho Mail
- Cost: Free plan for up to 5 users, starting at $1 USD/month
- Ideal for: Startups with limited budgets
Best Practices
Choose the Correct Domain
- Short and memorable (maximum 15 characters)
- Relevant to your brand
- Appropriate extension (.com global, .mx Mexico, .es Spain)
- Avoid hyphens and numbers
Configure Primary Domain
- Decide www vs no-www (recommended: no www)
- Shopify automatically redirects variants
- Use your primary domain on social media
Protect your domain
- Activate Domain Lock
- WHOIS Privacy
- Two-factor authentication
- Automatic renewal
Monitor Health
- Verify SSL monthly
- Check DNS quarterly
- Monitor uptime (UptimeRobot)
- Confirm active automatic renewal
Optimize for SEO
- Include relevant keywords if it's natural
- Do not change domains unnecessarily (accumulated authority)
- Check for a clean history (archive.org)
- Configure 301 redirects if you change your domain
Conclusion
Connecting a custom domain to Shopify is essential for credibility and SEO. By following this step-by-step guide, you'll complete the setup in 15 minutes. Your domain is your most valuable digital asset: choose wisely, configure it correctly, protect it with appropriate security, and monitor its health regularly. A well-configured domain increases conversions, builds customer trust, and strengthens your brand in the long run.