How To Setup Cloudflare CDN on WordPress

Are you wondering how to setup Cloudflare CDN on WordPress blog properly? Cloudflare will make your WordPress blog faster, safer and smarter. For beginners, they also offer a free plan. In this post, we are going to show you that, how can you setup Cloudflare CDN on WordPress blog in 5 minutes.

Will I Get Free SSL?

Yes, Cloudflare will give you a free SSL certificate for a lifetime. The certificate will be in the shared environment. If you need a custom SSL certificate, only for your website, you need to contact the support.

Also, you may want to spend some bucks for custom SSL.

Any Hidden Fees?

No. But the free plan got some limitations. If you need more power, you need to consider choosing a premium plan which suits your needs.

How To Setup Cloudflare CDN on WordPress?

First of all, sign up on Cloudflare.

Setup Cloudflare CDN on WordPress

Now, you need to enter your domain name.

add domain name to cloudflare

They will start to query your existing DNS records.

next xlouflare step

Now, choose any plan which suits you. For beginners, the free plan is enough.

cloudflare plans and pricing

Confirm your plan.

confirm free plan

On the next step, you need to choose the sections that you need to pass the traffic through CDN.

cloudflare cdn setup

Once you have turned on traffic through the CDN, click on continue. They will give you 2 NameServers. You need to update your domain’s Nameservers with the new one.

cloudflare NS records

In our case, we have registered our domain on Namecheap. So, simply access the domain panel and update the NS.

namecheap nameservers

If you are hosted on somewhere else and you don’t know how to change, you need to contact your web hosting provider or domain registrar. They will probably help you to change the NS.

Once you updated the NS, go to the Cloudflare dashboard.

website not active on cloudflare

You can see the website is not active on Cloudflare. Because the NS is not propagated yet. After a few seconds, you need to click on the recheck Nameservers button. they will fetch the new status of your domain when you click.

cloudflare domain recheck

If the propagation completed, you can see that your domain is active on Cloudflare CDN free plan!

cloudflare working for website

That’s it!

From now on your website will be faster, safer and smarter. By using Cloudflare, you can improve your WordPress blog’s speed and performance. We highly recommend Cloudflare for all our users.

We hope you found this post helpful and enjoyed the read. If you did, please consider sharing this post with your friends and fellow bloggers. We would love to hear from you.

If you want more powerful CDN, you might want to consider MaxCDN or KeyCDN. Also a caching plugin like WP Rocket and a WordPress image optimization plugin like ShortPixel.

For more tutorials, please check out our blog. HappyThemes review and Revenue WordPress theme review are our all-time popular posts.

  • Features
  • Performance
  • Support
  • Ease of Use
  • Pricing


For improving your WordPress blog’s speed and performance, you must consider using a CDN. Here’s how you can use Cloudflare, the same CDN service that we use for our blog right now!

Leave a Comment