How to setup CloudFlare CDN for WordPress blog

In today’s world website speed is a crucial element to getting good ranks on the web. Website speed also aids for indexing your site fast in the various search engines. Fast indexing will result in more organic visitors.

There are lots of factors that can boost up speed for your WordPress blog. Among all of them, CDN is one of the factors that may help you to speed up your WordPress blog.

What is CDN?

CDN is an abbreviation for the Content delivery network. It is a system of distributed servers that deliver your web contents to a user based on the geographic location of the user.

During the startup, paid CDN are not affordable for all users. So here in this tutorial, I’ll tell you how to setup CloudFlare for your WordPress blog.

If you have a self-hosted WordPress blog, CloudFlare is the best option as a free CDN. CloudFlare is good CDN service with more than 50 data centres across the globe. You can see the image below showing all the data centres.

Image showing CloudFlare's data centers source
Image showing CloudFlare’s data centres

There are two ways to Setup free CloudFlare CDN on your WordPress blog.

  1. Using hosting Cpanel
  2. Manually from the CloudFlare’s official website.

So, let’s start with the method 1.

Setup CloudFlare CDN using Cpanel

  1. Log in to your hosting Cpanel
  2. On Cpanel go to ClloudFlare section (refer bellow picture)

    cloudflare cpanel
    CloudFlare Cpanel
  3. Click on CloudFlare (first icon in above picture) you will get a window as shown in the picture below.

    Cpanel mywebsite
    Cpanel my website
  4. Click cloud option to activate CloudFlare on your site. Done!!

Activate using Official website

  1. Go to CloudFlare CDN  official website.
  2. Sign up a new account if you don’t have any.
  3. Click on Add Site
  4. Enter your site URL and Begin scan.
  5. Once, scanning completed click continue setup
  6. Check if any record left during a scan, if so you can add it manually.
  7. Continue, it will ask you to select a CloudFlare Plan, choose free plan (you can choose paid if you want)
  8. Click Continue button, it will ask you to change your Nameservers.

To change Nameservers, you have to follow following steps.

  1. Log into your hosting Cpanel
  2. Under the Domain section >> Advanced Zone Editor

  3. After that select your domain and change nameservers to the nameservers that are provided by CloudFlare during Setup.
Changing Nameserver will take some time to propagate all over the internet. You site may be down in some regions for some time.
So, this is all about CloudFlare setup. You can use a cache plugin to add more speed to your WordPress blog. W3 Total Cache plugin has a special integration with CloudFlare.


Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.


  1. Can i use w3 total cache or wp fastest cache in newspaper theme?? Because i think super cache don’t do that well for my site.

    • Yes Subodh, you can use either W3 Total Cache or WP Fastest Cache plugin with a Newspaper theme. Just remember you should not enable minify option on both CloudFlare and plugin. That’s it.

  2. Hi, how much time could be down the domain when you have done the change of DNS of your hosting to cloudflare? Thanks

    • Mostly there is no downtime during DNS propagation. I recommend not to use Flexible SSL on the site during DNS Propagation as Certificate takes some time to initialize and during this period site may so SSL error.


Please enter your comment!
Please enter your name here


Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...



SEOPressor plugin gives you maximum SEO clarity on your WordPress sites with features designed for controlling WordPress SEO with ease.


Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to setup CloudFlare CDN for WordPress blog

In today's world website speed is a crucial element to getting good ranks on the web. Website speed also aids for indexing your site...

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

How to Delete Multiple Images in WordPress Media Gallery

Hey, guys today one of my friends asked me a question, How can I delete Multiple Images in WordPress? I replied, "It's very simple." Yeah,...

WP Super Cache Plugin: Best Settings & Configuration Guide

A cache plugin serves static contents to the visitor which improves page load speed. There are so many cache plugins available in the...

How to install Pure CWM Recovery on Xperia C

Hello readers, in my previous tutorial I have shared how to root Sony Xperia C. Let's consider you have successfully rooted your device. So...