Domains

How to Connect Your Own Domain to Shopify

Step-by-step guide to connecting an external domain to your Shopify store by updating DNS records, with propagation tips and common fixes.

Illuminated 5G sign with modern geometric ceiling and warm lighting.

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

  1. Find the existing A record for the host @ (or blank, depending on the registrar).
  2. If it exists, edit it and change the value to 23.227.38.65. If it doesn't exist, create it.
  3. Set the TTL to 3600 (1 hour) or the lowest value available.
  4. Save the change.

Update or Create the CNAME Record for www

  1. Find the CNAME record for host www.
  2. Change the value to shops.myshopify.com (add a trailing dot if your registrar requires it).
  3. If no CNAME exists for www, create one.
  4. 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

  1. Go to your Shopify admin panel.
  2. Navigate to Settings → Domains.
  3. Click Connect existing domain.
  4. Type your domain (e.g., yourstore.com) and click Next.
  5. 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:

  1. In Settings → Domains, find your new domain.
  2. Click Set as primary.
  3. Shopify will automatically redirect all other domains (including the .myshopify.com subdomain) 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.65 and a CNAME for www pointing to shops.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:

← All