Quick Summary
- Set up a custom domain for your Shopify store by configuring DNS settings with Shopify’s IP addresses (IPv4: 23.227.38.65, IPv6: 2620:127:f00f:5::).
- For third-party domains, modify the A record, AAAA record, and CNAME to point to Shopify’s servers.
- Shopify uses multiple IP addresses for redundancy and high availability.
- Verify domain connection in Shopify admin under Settings > Domains, and ensure the domain is listed as "Connected" after DNS changes propagate.
Did you know? eCommerce businesses lose an estimated $25 billion annually to online payment fraud. A critical yet often overlooked step to strengthen eCommerce security is understanding the relationship between your Shopify IP address, DNS records, and custom domain.
When you build a custom Shopify store, a branded domain boosts credibility and improves the shopper experience. To successfully link your domain, you must configure its DNS settings to point to Shopify’s servers using specific IP addresses.
In this blog, we’ll explain how Shopify experts configure DNS settings for maximum security and user experience. But first, let’s review Shopify IP addresses.
IP Addresses in Shopify
An IP address (Internet Protocol address) is a unique numerical label assigned to a device or server on the Internet. It acts like a “postal address,” directing internet traffic to the correct location. For Shopify, these IP addresses identify the servers hosting your online store.
There are two types of IP addresses to be aware of when connecting a domain to Shopify: IPv4 and IPv6.
IPv4 vs IPv6
- IPv4 (Internet Protocol version 4): The most widely used version of IP addresses, consisting of four sets of numbers (e.g., 23.227.38.65). Despite its popularity, IPv4 addresses are limited, and the world is running out of unused IPv4 addresses.
- IPv6 (Internet Protocol version 6): A newer version of IP addresses offering a much larger address space. An IPv6 address is longer and more complex (e.g., 2620:127:f00f:5::), ensuring there will be enough unique addresses for all devices and services in the future.
When configuring DNS settings for Shopify, it’s important to use the correct A record (for IPv4) and AAAA record (for IPv6) to ensure smooth traffic routing.
How to Identify Your Shopify IP Address for the Domain?
For Shopify-managed domains, Shopify may change the IP address associated with your store. To ensure you are pointing to the correct address, always check the current IP address from your Shopify admin dashboard. Here’s how:
- Go to Settings > Domains in your Shopify admin.
- Select your domain.
- Look for the “Points to” value in the A RECORD section of the DNS settings.
This value shows the exact IP address Shopify is currently using for your store’s domain.
Understanding Shopify’s IP addresses and how they route traffic is essential for setting up your custom domain.
Whether you’re working with a third-party domain or a Shopify-managed domain, configuring your DNS settings with the correct A, AAAA, and CNAME records ensures your store remains reliable, fast, and accessible to customers worldwide. You don’t have to handle this alone; you can hire dedicated Shopify developers from our team to manage your complete IP, DNS, and domain configuration.
How to Configure Your Shopify DNS Settings?
To connect your custom domain to Shopify, you need to configure your domain’s DNS settings. This ensures all traffic to your domain directs correctly to your Shopify store. The process involves adjusting key records, including A, AAAA, and CNAME, to Shopify’s designated IP addresses.
Follow these steps to connect your domain or integrate your Shopify store with third-party domain registrars like GoDaddy, Namecheap, or Cloudflare:
Step 1: Access Your Domain Provider’s DNS Settings
- Log in to your domain provider’s account.
- Navigate to the DNS settings or domain management area.
Step 2: Modify the A Record
- Set the A record to Shopify’s IPv4 address: 23.227.38.65.
- If needed, set the Hostname to the @ symbol.
- Delete any other A records to avoid conflicts.
Step 3: Add or Modify the AAAA Record (if supported)
- Point the AAAA record to Shopify’s IPv6 address: 2620:127:f00f:5::.
- If needed, set the Hostname to the @ symbol.
- Delete any other AAAA records to avoid conflicts.
Step 4: Configure the CNAME Record for ‘www’
- Set the CNAME record named
wwwto point toshops.myshopify.comso both your root and subdomain traffic resolve to your storefront layout when you customize your Shopify theme. - Add a period at the end of shops.myshopify.com if your provider requires it.
Step 5: Save Your Changes
- Save your DNS settings after making these adjustments.
Once you’ve updated your DNS settings, allow up to 48 hours for changes to fully propagate, as lingering DNS conflicts or missing A records are the most common reasons merchants need to fix SSL pending on Shopify after connecting a domain.
If you plan to migrate your domain to Shopify from another platform, our team handles the entire DNS cutover to ensure secure connections and zero downtime during setup
Why Does Shopify Use Multiple IP Addresses?
Shopify uses multiple IP addresses and globally distributed Anycast routing to ensure redundancy and high availability. This prevents downtime and works alongside broader best practices to speed up your Shopify store by routing visitors to the fastest available server.
Shopify’s infrastructure automatically routes traffic to different servers based on each server’s status and load, ensuring your store remains accessible to customers at all times.
When connecting a custom domain, third-party domains (purchased from external registrars) typically use Shopify’s primary IPv4 address (23.227.38.65) along with the corresponding IPv6 address (2620:127:f00f:5::).
In contrast, Shopify-managed domains (purchased through Shopify) may use any IP address from a range of multiple IPs Shopify maintains for this purpose:
- 23.227.38.32
- 23.227.38.36
- 23.227.38.65 to 23.227.38.74
Shopify allows for flexibility in using these IP ranges, supporting automatic load balancing and high availability, especially for high-volume enterprise merchants that scale with a Shopify Plus store during major flash sales and seasonal traffic spikes.
How to Verify Your Domain Connection in Shopify?
Before your custom domain is fully connected, or when you change your domain URL in Shopify from the default .myshopify.com address, verifying the domain connection confirms your DNS records are pointed properly so customers can access your store without errors.
After updating your DNS settings, connect your domain to Shopify:
- From your Shopify admin, go to Settings > Domains.
- Click Connect existing domain.
- Enter your domain (e.g., yourstore.com) and click Next.
- Click Connect domain.
Once your domain is successfully verified, it will appear as “Connected” in your Shopify admin. This confirms everything is set up correctly, and customers can visit your store using your custom domain without any issues.
Final Thoughts
Setting up your domain correctly is crucial to ensure customers and search crawlers can seamlessly access your storefront. By pointing your A, AAAA, and CNAME records to Shopify’s designated IP addresses, you establish solid technical SEO for eCommerce and create a reliable, professional online presence.
Remember, DNS changes may take some time to propagate, so patience is key. If you encounter any challenges, Shopify’s support resources or your domain provider’s help team can guide you through the process. For assistance with Shopify IP addresses for your domain, connect with us today!
FAQs on Shopify IP Address for Domain
1. How do I connect my domain to Shopify?
To connect your domain, access your domain provider’s DNS settings, modify the A record to point to Shopify’s IPv4 address, adjust the AAAA record for IPv6, and configure the CNAME for the www subdomain to point to shops.myshopify.com.
2. Why does Shopify use multiple IP addresses?
To connect your domain, access your domain provider’s DNS settings, modify the A record to point to Shopify’s IPv4 address, adjust the AAAA record for IPv6, and configure the CNAME for the www subdomain to point to shops.myshopify.com.
3. How long does it take for DNS changes to propagate?
DNS changes can take up to 48 hours to propagate fully across the internet. During this period, your domain might not be immediately accessible to everyone.
4. Can I use a third-party domain with Shopify?
You can use a third-party domain with Shopify by updating the domain’s DNS records (A record, AAAA record, and CNAME) to point to Shopify’s IP addresses.




