How to setup CloudFlare CDN for WordPress blog

0
How to setup free CloudFlare CDN for WordPress blog
Setup free 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

    NAVESERVER-CHANGE
    NAMESERVER-CHANGE
  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.