How to Connect Your Domain with Shopify Using Cloudflare

If you want to connect your custom domain to Shopify while using Cloudflare for DNS management, you can do it easily by following this step-by-step guide. Cloudflare enhances website security, speed, and reliability while Shopify manages your eCommerce store.


Step 1: Add Your Domain to Cloudflare

1. Sign Up or Log In to Cloudflare

  • Go to Cloudflare’s website and log in to your account.
  • If you don’t have an account, sign up and add your domain.

2. Add Your Domain to Cloudflare

  • Click on "Add a Site" and enter your domain name (e.g., yourdomain.com).
  • Click "Continue" to proceed.

3. Choose a Plan

  • Select the Free Plan (or a paid plan if you need extra features).
  • Click "Continue".

4. Cloudflare Scans Your DNS Records

  • Cloudflare will automatically detect your existing DNS records.
  • Click "Continue" after reviewing them.

5. Update Your Nameservers

  • Cloudflare will provide new nameservers.

  • Go to your domain registrar (e.g., Namecheap, GoDaddy, StormHoster).

  • Find the Nameservers section and update them with Cloudflare’s nameservers.

  • Save the changes and return to Cloudflare.

  • Click "Done, Check Nameservers" and wait for the update (it may take a few minutes to a few hours).


Step 2: Configure Cloudflare DNS for Shopify

Once Cloudflare is managing your DNS, follow these steps to connect your domain to Shopify:

1. Access Cloudflare’s DNS Settings

  • In your Cloudflare dashboard, click on your domain name.
  • Navigate to the DNS tab.

2. Add Shopify's Required DNS Records

A Record (for Root Domain)

  • Click "Add record"
  • Select Type: A
  • In the Name field, enter @ (this represents your root domain).
  • In the IPv4 Address field, enter Shopify’s IP address:
     
    23.227.38.65
  • Click "Save" and disable the Proxy Status (it should be "DNS Only").

CNAME Record (for www Subdomain)

  • Click "Add record"
  • Select Type: CNAME
  • In the Name field, enter www.
  • In the Target field, enter shops.myshopify.com.
  • Click "Save" and disable the Proxy Status (it should be "DNS Only").

Step 3: Connect the Domain in Shopify

1. Log in to Shopify

  • Go to Shopify and log in to your store.

2. Navigate to Domain Settings

  • In the Shopify dashboard, go to Settings > Domains.
  • Click "Connect existing domain".
  • Enter your domain name (yourdomain.com) and click Next.

3. Verify the Connection

  • Shopify will check if your domain settings are correct.
  • If everything is set up properly, you’ll see a Connected status.
  • If not, Shopify may show a Pending message—wait for DNS propagation (can take up to 48 hours).

Step 4: Enable SSL (Secure HTTPS)

  • After Shopify detects your domain, it will automatically issue an SSL certificate.
  • Ensure that Cloudflare's SSL/TLS encryption mode is set to Full (not Flexible) in the Cloudflare dashboard under the SSL/TLS tab.

Final Steps & Testing

✅ Wait for the DNS changes to propagate (this can take a few hours).
✅ Visit your domain (yourdomain.com) to check if it loads your Shopify store.
✅ If you face issues, clear your browser cache or use a different network to test.


Conclusion

Using Cloudflare to connect your domain to Shopify ensures faster performance, better security, and full control over DNS settings. By following these steps, you can successfully link your domain and start selling on Shopify! ????

If you have any issues, feel free to reach out to StormHoster support!

  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

How to Login to cPanel Using the Client Area: Step-by-Step Guide

At StormHoster, we offer an easy way for you to manage your hosting account, domain settings, and...

How to Take a Backup from cPanel: Step-by-Step Guide

Backing up your website is essential for protecting your data. cPanel provides an easy way to...

How to Clean a Virus from a WordPress Site: A Comprehensive Guide

WordPress is one of the most popular content management systems (CMS) in the world, powering over...

How to Fix A DNS Entry for the Domain Already Exists Step by Step Guide

If you encounter the error “A DNS entry for the domain already exists”...