To connect your own domain to Shopify, add an A record pointing to 23.227.38.65 and a CNAME record for www pointing to shops.myshopify.com in your registrar's DNS panel. Then add the domain inside Shopify under Settings → Domains. Within 1–24 hours your store will be live on your custom domain.
This process applies when you already own a domain registered at GoDaddy, Namecheap, Hostinger, or any other registrar and want to use it instead of the default yourstore.myshopify.com subdomain.
Before You Start: What You Need
- A domain you already own (at any registrar).
- Access to that registrar's DNS panel (login credentials).
- An active Shopify store (any paid plan).
If you don't have a domain yet, you can register one at elenlace.com and connect it to Shopify using the same steps in this guide.
Step 1 — Get Shopify's DNS Values
Shopify always requires the same DNS values regardless of your plan or region:
| Record type | Host / Name | Value / Target |
|---|---|---|
| A | @ (root domain) | 23.227.38.65 |
| CNAME | www | shops.myshopify.com |
These values are fixed and official. Don't use different IPs you may have seen in older forum posts — Shopify has updated its infrastructure and this is the correct IP today.
Step 2 — Edit Your DNS Records at Your Registrar
Log in to your registrar's control panel and find the DNS management section (it may be called DNS Zone, Manage DNS, or simply DNS).
Update the A Record
- Find the existing A record for the host
@(or blank, depending on the registrar). - If it exists, edit it and change the value to
23.227.38.65. If it doesn't exist, create it. - Set the TTL to 3600 (1 hour) or the lowest value available.
- Save the change.
Update or Create the CNAME Record for www
- Find the CNAME record for host
www. - Change the value to
shops.myshopify.com(add a trailing dot if your registrar requires it). - If no CNAME exists for
www, create one. - Save the change.
Note: some registrars display the "Name" field as the full www.yourdomain.com; others expect just www. Use whatever format the panel asks for.
Step 3 — Add the Domain in Shopify
- Go to your Shopify admin panel.
- Navigate to Settings → Domains.
- Click Connect existing domain.
- Type your domain (e.g.,
yourstore.com) and click Next. - Shopify will check your DNS records. If propagation hasn't finished yet, you'll see a warning — that's normal. Close the screen and come back later.
Once Shopify detects the correct records, it will automatically issue a free SSL certificate for your domain (via Let's Encrypt). The full process typically takes 1–24 hours.
Step 4 — Set Your Domain as Primary
If you have multiple domains in Shopify, designate one as the primary:
- In Settings → Domains, find your new domain.
- Click Set as primary.
- Shopify will automatically redirect all other domains (including the
.myshopify.comsubdomain) to this primary domain.
Troubleshooting Common Issues
"Domain not connected" After 48 Hours
Verify your A and CNAME records are saved correctly using dig yourdomain.com A or nslookup yourdomain.com. If you see Shopify's IP (23.227.38.65), the DNS side is fine — contact Shopify support with a screenshot showing the correct records.
www Isn't Redirecting
Make sure the CNAME record for www points exactly to shops.myshopify.com. Also check for duplicate A records for www that may be overriding the CNAME — delete any conflicting records.
SSL Takes Too Long to Activate
The SSL certificate can take up to 48 hours after DNS propagation completes. Don't make further changes; Shopify issues it automatically once it confirms domain ownership.
If SSL still hasn't activated after 48 hours and your DNS looks correct, contact Shopify support. You can also have the elenlace.com team review your DNS configuration to rule out any zone-level errors.
For more guides on domain setup and management, visit our domains section.
Key Takeaways
- You only need two DNS records: an A record pointing to
23.227.38.65and a CNAME forwwwpointing toshops.myshopify.com. - DNS changes are made at your domain registrar, not inside Shopify.
- After editing DNS, manually add the domain in Shopify → Settings → Domains.
- DNS propagation and SSL issuance can take up to 24–48 hours; don't make additional changes during that window.
- Set the domain as primary in Shopify so all store URLs use it.
Need to register a domain before connecting it, or need help with the DNS setup? Reach out to elenlace.com and we'll get your store live on your own domain in no time.
FAQ
Can I use any domain with Shopify?
Yes. Shopify accepts domains from any registrar regardless of extension (.com, .store, .co, .mx, etc.). All you need is the ability to edit DNS records in your registrar's control panel.
Does Shopify provide a free SSL certificate?
Yes. Once Shopify verifies that your DNS records are correct, it automatically issues a free SSL certificate via Let's Encrypt. You don't need to configure it manually or pay extra for it.
Will updating DNS records affect my business email?
Not if you only update the A record and the www CNAME. Your MX records (which handle email delivery) remain untouched. Your business email will keep working normally as long as you don't modify or delete existing MX records.
How many domains can I connect to one Shopify store?
Up to 20 domains per store. Only one can be set as primary; all others redirect to it automatically. This is useful for registering brand name variations or country-specific extensions.
Compare providers
Other providers and guides worth comparing: