Why a Custom Domain Matters

Your domain is your store digital address — it is the first thing customers see in search results, the URL they type to visit your store, and the address on every email, business card, and advertisement. Using the default yourstore.myshopify.com subdomain sends a clear signal that your store is either brand new or not serious enough to invest in its own domain. Research shows that 75% of consumers judge a business credibility based on its website domain.

From an SEO perspective, a custom domain is essential. While myshopify.com subdomains can technically rank in search engines, a custom domain builds independent domain authority over time. Every backlink, social share, and mention builds equity in your domain. If you ever migrate away from Shopify, you keep your domain and its accumulated authority. With a myshopify.com subdomain, you lose everything.

Custom domains also enable branded email addresses (hello@yourstore.com instead of yourstore@gmail.com), which reinforces professionalism in customer communications. They allow you to create subdomain structures for international markets (uk.yourstore.com, eu.yourstore.com) if needed. And they give you full control over your online identity.

The cost is minimal — domains typically cost $10-20 per year, making this one of the highest-ROI investments for any ecommerce business. There is no legitimate reason to operate a serious Shopify store without a custom domain.

Buying a Domain Through Shopify

The simplest approach is buying your domain directly through Shopify. It auto-configures everything, so you do not need to touch DNS settings:

Step 1: Go to Settings > Domains in your Shopify admin.

Step 2: Click "Buy new domain." Enter the domain name you want (e.g., yourstore.com) and Shopify will check availability. If your first choice is taken, Shopify suggests alternatives.

Step 3: Choose your domain extension. .com is the most trusted and preferred option. .store, .shop, and country-specific extensions (.co.uk, .ca, .de) are alternatives if .com is unavailable.

Step 4: Complete the purchase. Shopify charges the domain to your account (typically $14/year for .com domains). The domain automatically connects to your store, DNS records are configured, and SSL is provisioned — no technical steps required.

Step 5: Set the new domain as your primary domain. After purchase, go back to Settings > Domains and click "Change primary domain" to select your new custom domain. This ensures all traffic is directed to your custom URL.

Buying through Shopify is ideal for merchants who want zero technical hassle. The domain auto-renews annually, and management is handled entirely within the Shopify admin. The trade-off is slightly less control compared to using a dedicated registrar, and domain transfers away from Shopify require standard transfer procedures.

Connecting an Existing Domain

If you already own a domain from a registrar like GoDaddy, Namecheap, Google Domains, or Cloudflare, you can connect it to Shopify without transferring it:

Step 1: Go to Settings > Domains and click "Connect existing domain."

Step 2: Enter your domain name (e.g., yourstore.com) and click "Next."

Step 3: Shopify will show you the DNS records you need to configure at your registrar. You need to set an A record pointing to Shopify IP address (23.227.38.65) and a CNAME record for the www subdomain pointing to shops.myshopify.com.

Step 4: Log in to your domain registrar and navigate to DNS settings. Update the A record and CNAME record as instructed by Shopify. The exact steps vary by registrar, but Shopify provides guides for all major registrars.

Step 5: Return to Shopify and click "Verify connection." DNS changes take 24-48 hours to propagate globally, so verification may not succeed immediately. Shopify will continue checking and notify you when the connection is confirmed.

Step 6: Once verified, set the domain as your primary domain in Settings > Domains.

Connecting an existing domain gives you more control — you manage renewal, privacy settings, and DNS at your registrar. This is preferred if you want to use advanced DNS features like CDN integration, custom email hosting, or if you want to keep all your domains with one registrar for easier management.

Configuring DNS Records

DNS (Domain Name System) records tell the internet where to send traffic for your domain. For Shopify, you need two essential records:

A Record: Points your root domain (yourstore.com without www) to Shopify servers. Set the A record for "@" or the root domain to IP address 23.227.38.65. This ensures that visitors who type yourstore.com reach your Shopify store.

CNAME Record: Points your www subdomain (www.yourstore.com) to Shopify. Set a CNAME record for "www" pointing to shops.myshopify.com. This ensures the www version of your domain also reaches your store.

Removing conflicting records: Before adding Shopify DNS records, remove any existing A records or CNAME records for the root domain and www subdomain. Conflicting records can cause intermittent connectivity issues or prevent SSL provisioning.

TTL (Time to Live): When updating DNS records, set the TTL to a low value (300 seconds or 5 minutes) to speed up propagation. After propagation is complete and everything is working, you can increase the TTL to a standard value (3600 seconds or 1 hour).

Verification: Use tools like dig (command line), nslookup, or online DNS checkers like whatsmydns.com to verify your DNS records are propagating correctly. Check both the root domain and www subdomain. It is normal for propagation to take up to 48 hours, though most changes take effect within a few hours.

SSL Certificate Setup

SSL (Secure Sockets Layer) encrypts the connection between your customers browsers and your store, enabling HTTPS. Shopify provides free SSL certificates for all connected domains — you do not need to purchase or install one manually.

Automatic provisioning: After connecting your domain and DNS propagation completes, Shopify automatically provisions an SSL certificate. This typically happens within 24 hours of the domain verification. You will see "SSL pending" in your domain settings until the certificate is active.

Why SSL matters: SSL is required for payment processing (no SSL means no checkout), is a Google ranking factor (HTTPS sites rank higher than HTTP), and is a trust signal for customers (the padlock icon in the browser address bar). Browsers also display "Not Secure" warnings for HTTP sites, which drives customers away.

Troubleshooting SSL: If SSL does not provision within 48 hours, check that your DNS records are correct and fully propagated. Conflicting DNS records (especially from CDN services like Cloudflare) can prevent Shopify from issuing the certificate. Ensure there are no CAA records blocking Shopify certificate authority. Contact Shopify support if SSL is not provisioning after 72 hours.

HSTS: Shopify automatically enables HSTS (HTTP Strict Transport Security) for your domain, which tells browsers to always use HTTPS. This prevents downgrade attacks and ensures all connections are encrypted. HSTS headers are applied automatically and do not require configuration.

Setting Up Email Forwarding

A custom domain enables branded email addresses. While Shopify does not host email, you have several options:

Shopify email forwarding: If you bought your domain through Shopify, you can set up email forwarding in Settings > Domains > your domain > Email forwarding. Create forwarding addresses (like hello@yourstore.com or support@yourstore.com) that forward to your personal email. This is free but only works for receiving — you cannot send from the forwarded address.

Third-party email hosting: For full send/receive capability with your custom domain, use Google Workspace ($6/user/month), Microsoft 365 ($6/user/month), Zoho Mail (free for up to 5 users), or other email hosting providers. These require additional DNS records (MX records) configured at your registrar.

Setting up MX records: Email hosting providers give you MX records to add to your DNS. These records tell email servers where to deliver mail for your domain. Add them at your registrar alongside your Shopify A and CNAME records — they do not conflict.

Best practice: Use professional email addresses for different functions: hello@ for general inquiries, support@ for customer service, orders@ for order-related communications, and marketing@ for partnership and PR. Route each to the appropriate team member or department.

Working with Subdomains

Subdomains are extensions of your main domain (like blog.yourstore.com or wholesale.yourstore.com). Shopify supports subdomains for specific use cases:

International subdomains: Shopify Markets supports country-specific subdomains (uk.yourstore.com, fr.yourstore.com) for international stores. These are configured in Settings > Markets > your market > Domains. Each subdomain can display content in the local language and currency.

Custom subdomains: You can point any subdomain to Shopify by creating a CNAME record for the subdomain pointing to shops.myshopify.com. This is useful for creating separate store experiences on subdomains while keeping your main domain for other purposes (like a corporate website).

SEO considerations: Subdomains are treated as separate sites by search engines, meaning they build independent authority. For most Shopify stores, using subfolders (yourstore.com/uk/ instead of uk.yourstore.com) is better for SEO because all pages contribute to the same domain authority. Use subdomains only when you need truly separate site experiences.

International Domains for Multi-Market Stores

If you sell internationally, you have options for how international customers access your store:

Subfolders (recommended): yourstore.com/en-gb/ for UK, yourstore.com/fr/ for France. All traffic builds authority for the single root domain. This is the default Shopify Markets approach and is recommended for most stores.

Subdomains: uk.yourstore.com, fr.yourstore.com. Each market gets a separate subdomain. Slightly more complex to set up but provides clear market separation.

Country-code domains: yourstore.co.uk, yourstore.fr. The strongest geographic signal for SEO but requires purchasing and managing multiple domains. Best for large brands with dedicated international operations.

For most Shopify merchants, the subfolder approach (default with Shopify Markets) provides the best balance of SEO benefit and operational simplicity. Combined with EA Auto Language Translate for multilingual content, this creates a strong international presence without the complexity of managing multiple domains.

Troubleshooting Common Domain Issues

Domain not connecting: Verify DNS records are correct using whatsmydns.com. Check for conflicting records. Wait full 48 hours for propagation. Ensure no proxy services (like Cloudflare) are intercepting the connection — temporarily disable proxy mode if applicable.

SSL not provisioning: Check for CAA DNS records that might restrict certificate issuance. Remove any existing SSL certificates from your registrar that might conflict. Ensure both A and CNAME records are correctly pointing to Shopify.

Email not working: Domain connection to Shopify does not affect email if your MX records are set correctly. Verify MX records are present and correct. Shopify DNS records (A and CNAME) do not interfere with email delivery (MX records).

Redirect loops: If your store shows a redirect loop after connecting a domain, check for conflicting redirects at your registrar or CDN. Ensure you are not forcing HTTPS at the registrar level (Shopify handles this automatically). Clear your browser cache and test in an incognito window.

Frequently Asked Questions

Should I buy my domain through Shopify or a separate registrar?

Both work well. Buying through Shopify is simpler — DNS configures automatically and management is in one place. Using a separate registrar gives you more control over DNS, often lower prices, and keeps the domain independent of your ecommerce platform. If you are non-technical, buy through Shopify. If you manage multiple domains or want advanced DNS features, use a registrar.

How long does domain setup take?

If you buy through Shopify, the domain connects instantly. If you connect an existing domain, DNS propagation takes 24-48 hours, though it often completes within a few hours. SSL provisioning adds another 24 hours after DNS is confirmed. Plan for 2-3 days total for the full setup process when connecting an external domain.

Can I use my domain with Shopify and another website?

Your root domain and www subdomain can only point to one destination at a time. If you point them to Shopify, they cannot simultaneously serve a different website. However, you can use subdomains for different services: shop.yourstore.com for Shopify and yourstore.com for a corporate site, or vice versa.

Does Shopify provide free SSL?

Yes. Shopify provides free SSL certificates for all connected domains, including the root domain, www subdomain, and any additional subdomains pointing to Shopify. The certificate is automatically provisioned and renewed. You do not need to purchase, install, or manage SSL certificates manually.

Can I transfer my domain to Shopify later?

Yes. If you originally connected your domain from an external registrar, you can transfer it to Shopify later. Go to Settings > Domains, click on the domain, and select "Transfer to Shopify." You will need to unlock the domain at your current registrar and authorize the transfer. The process takes 5-7 days and may require paying for a year of renewal at Shopify rates.

Get All 10 EasyApps — Completely Free

Email popups, upselling, free shipping bars, countdown timers, speed optimization, accessibility, translation, and more. All free, all lightweight, all designed to work together.

Browse All Free Apps