How to setup free CloudFlare CDN on WordPress blogs

Posted by on

Share this

If you’re working on a popular blog or website, you should consider to secure it from intruders and hackers. Cloudflare plays the important role in website protection. In this post I will show you, How to set up Cloudflare CDN for WordPress blogs.

It also helps to boost up your page loading speed with awesome caching. We have already shared with you that how your website speed affects SEO. When I read some features of Cloudflare, it greatly impressed me. I recently signed up for the free Cloudflare service on its official website. When I get in, I found that it is the box full of gold coins for websites. It also helps to increase you Page speed (website loading speed). Page loading speed is very important factor of Blogs. No one likes a slow website.

Also read : Best fast loading WordPress themes of 2016

Cloudflare helps to boost up your speed with default HTML, CSS and JavaScript minimization. You will come to know more about the role of Cloudflare in website speed. But first refer to the screenshot given below.

Cloudflare CDN

setup Cloudflare CDN

This is the menu of my free Cloudflare account. As you can see that there are number of features to optimize your website with Cloudflare. There are number of free features too such as Cloudflare CDN (Content delivery network). The free features are best for growing blogger and I use it too. Some of them are-

  • Free DNS setup
  • Auto minify scripts (CSS, HTML, JS)
  • Rocket Loader
  • Effective cache engine
  • Multiple Security levels (Brute force & Ddos protection)
  • Threat control
  • Traffic and Analytics

Best features of Cloudflare CDN

  • Cloudflare Analytics

Cloudflare Analytics shows the overall stats of your website. It shows the most common location of your visitors. The webpage crawl status on search engines (Google, Bing, Yandex, Baidu). It also helps in locating the top threat origins (requests that leads to threats on your website. And this helps you to limit access to your visitors from different locations.

Cloudflare CDN

Screenshot : Analytics (last 24 hours) setup Cloudflare CDN

  • Cloudflare threat control & firewall

As I told you above that Cloudflare plays the major role in website protection. The best feature of the Cloudflare threat control is that it offers the free Ddos protection for blogs.

Cloudflare CDN

Cloudflare CDN

Short introduction to Ddos : Distributed denial-of-service attacks on root name servers are Internet events in which distributed denial-of-service attacks target one or more of the thirteen Domain Name System root name server clusters.

Cloudflare protected my website from many Brute force attacks and hence I recommend other bloggers to use it. Cloudflare helps to block the unwanted or fake traffic to your website. It provides an average security to your website and protect it from theft and hacks. When you feel that someone is intruding your website or attempting to login into your WordPress, just enable the “I’m under attack mode” under Cloudflare firewall. I’m under attack mode of Cloudflare helps to scan the Browser for vulnerabilities and block the IP if found. This helps to protect your website from any Brute force or Ddos attacks.

Also read : Best Security plugins for WordPress blogs

  • Cloudflare CDN (Content delivery network)

What is CDN ? : A content delivery network or content distribution network (CDN) is a globally distributed network of proxy servers deployed in multiple data centers.

Cloudflare CDN helps to serve the cache version of most visited or popular content of your website to the multiple Cloudflare local servers for fast loading of webpages. Cloudflare CDN is also very helpful when your server is not working properly or if it has gone down for maintenance. It also speed up your website by automatically minifying the CSS, Javascript and HTML files.

Cloudflare CDN

Cloudflare CDN

Also read : Best cache plugins for WordPress

Cloudflare apps

Cloudflare also consists of various useful apps which may help you in issues like security, DNS, SEO, advertizing and many more. Some of the apps are 100% free but some of them are costly. In the basic pack Cloudflare is offering many free apps like, Google Analytics, Google websmaster tools, A better browser, etc. You can install this app with addition to Cloudflare and it will help you in many different things. There are many useful apps too for better security like ..

  • CodeGuard

It is a paid app of Cloudflare which offers the world’s leading offsite website backup & monitoring service. You can track your contents, downloads and also analyze the most preferred location. It is very useful app for backing up your important website files for advanced protection. So that if anything goes wrong in the future you can easily restore it.

  • Pingdom

This is another paid app of Cloudflare. This is the best Cloudflare app for speed monitoring and optimization. Pingdom monitors the uptime and performance of your website and alerts you if it goes down. This integration is intended for new Pingdom customers. You may already have internal tools for monitoring your infrastructure, but don’t forget about the end-user experience. People access your website from the outside, from the Internet. Pingdom does this external monitoring for you, making sure your website is reachable and responding well. You can get alerts both via email and SMS when there is a problem.

  • SiteLock

The SiteLock Trust Seal provides user security and protection. Website security scanning identifies vulnerabilities and protects your site against threats. Hackers use malware, SQL Injection, Cross-site scripting and more sophisticated techniques to steal your customer data or redirect your traffic, ruining your site’s reputation. This is a very useful and recommended app for better security. It provides lossless protection with advanced firewall. Simply it is an antivirus for your website.

  • ScrapeShield

ScrapeShield is a free app from CloudFlare that protects your site’s content, and allows you to monitor and track misuse. ScrapeShield includes content tracking, Pinterest blocking, email obfuscation, hotlink protection, and — coming soon — watermarking. ScrapeShield layers content protection on top of reputation security. Whether you are protecting your words, images or email addresses, ScrapeShield ensures your content remains yours—and lets you track any misuse.

How to Setup Cloudflare CDN ?

Setting up Cloudflare CDN is quiet easy. You just have to follow these simple steps to use a free Cloudflare CDN. There are two different methods for implementing the Cloudflare on your WordPress website.

Method 1 (automatically from cpanel)

This is the primary and easy method to set up Cloudflare from your server itself. Many web hosting companies like BigRock, Bluehost, Hostgator and now Godaddy provides free Cloudflare CDN setup from cpanel. This method is recommended for newbies. As it does not require changing the name servers of your domain. So lets start adding the Cloudflare from cpanel.

Login into your cpanel dashboard and find for Cloudflare. It should be located in the advanced tab of your cpanel dashboard. Hit it !

I’m using the BigRock web hosting for my website 3nions. They have provided me the separate tab of Cloudflare settings. Refer the screenshot given below.

Cloudflare CDN

Cloudflare CDN


On hitting the Cloudflare button you will be taken to the Sign up/ Login page of the Cloudflare. Simply create the account (or login if have one) and choose your domain name (on which you have to set up Cloudflare).

Once you’ve signed up just go to the cloudflare settings and turn on the Cloudflare by just clicking the cloud icon. Cpanel will automatically update the DNS records and name servers. This is the automatic process for setting up Cloudflare.

Method 2 (manually from Cloudflare)

Go to the Cloudflare website and find the sign up option on the top bar. Click on the sign up and you will be redirected to the sign up page of Cloudflare. There you will have to fill up the form for creating the new account for Cloudflare.

Cloudflare CDN

Cloudflare CDN

Just enter the information and set the strong password. Click on create account and you’re done.

Now you have to add your websites into the Cloudflare. (Click “add site”  button). Adding you website will scan all the DNS records and provide you with two name servers which you will have to update manually.

Cloudflare CDN

Cloudflare CDN

For that, sign in to your web hosting account and go to the “manage name servers” under domain section. Replace the old name servers with the new one provided by the Cloudflare.

You’re done signing up the free Cloudflare account. This is a basic Cloudflare account. You can also call it as a Blogger account. This free Cloudflare accounts offers the different security levels. Medium level is appropriate and also provide protection from spammers. You can switch to any levels, anytime using Cloudflare. “I’m under attack” mode is best if your website is under Ddos or Brute force attacks.

Cloudflare WordPress Plugin

Addition to this you have to install the Cloudflare WordPress plugin (for WordPress users). As this will help you in anti-faking the IP address while commenting on your WordPress Blog. This plugin helps to..

  • Correct IP Address information for comments posted to your site
  • Better protection as spammers from your WordPress blog get reported to CloudFlare

Every time you click the ‘spam’ button on your blog, this threat information is sent to CloudFlare to ensure you are constantly getting the best site protection. Check this video of Cloudflare explanation in 90 seconds

You may also like:

Last updated: April 24, 2016

Authored by :

Hi ! I'm Prakhar Shrivastav, currently a final year BSc student and a co-founder of 3nions. I love spending quality times on Web development, Graphic designing, and SEO.


Thanks a lot , my website speed speed has increased

Mihir Gadhvi

you most welcome ? .be connected with us & support us

Pavitra Kumar

Hello ,

Thank you for sharing such great information your blog Post , SETUP CDN ON WORDPRESS BLOGS, It is informative.

I have subscribed to your feed which must do the trick! and Also, I’ve shared your site in my social networks!

Thanks a lot once again Have a nice day! good luck sir Happy Blogging 🙂

I’m happy that this 1 helped you 🙂

Pravin Nath

Really helpful, my shared hosting sucks, so I planned to move Vps. After reading this post just hold on.

Leave a Reply