How to install Cloudflare CDN on WordPress

by Ahsan Parwez  January 20, 2016

Speed and security are the most important aspects that a WordPress website needs. There are a lot of articles on the web talking about increasing the security and speed of WordPress. For this sole reason, we have spent numerous days and nights (and donuts) in building one of the most impressive managed cloud hosting platform for hosting WordPress sites.

Install Cloudflare on WordPress

However, hosting service provider is not the only factor in improving the speed of your WordPress site. Another common method used to improve the speed of a site is by using a CDN, which stands for content delivery network. It is a network of servers that serves the web content of websites based on geographic distance of visitors on the site. Using a CDN improves the page loading time for visitors coming in from different regions to access your website.

The widely used CDN providers by WordPress users are MaxCDN and Cloudflare. In this tutorial, I will be sharing how you can install Cloudflare on a WordPress website in Cloudways.

Cloudflare providers a number of options like CDN, optimization of ads, DDoS security, analytics and much more. They also offer a free plan that you can use before purchasing a paid plan.

To install Cloudflare, you first need to signup for Cloudflare and then add your website.


Cloudflare will scan your domain for DNS details.


Next you can route CNAME, A records, amongst others to route through Cloudflare servers by clicking on the gray cloud.



Once done, Cloudflare will ask about the plan that you want to avail. For this tutorial, we are going to go with the FREE plan.


In the final step, Cloudflare will notify you which DNS you need to change in order to configure Cloudflare with your domain.


Next step is to login to your domain registrar and edit the DNS records of your domain and replace them with the ones Cloudflare has provided.

After you have edited the DNS records, click continue and after a while you will receive an email confirming that your domain is using Cloudflare DNS and is now being optimized.

To take full advantage of Cloudflare on WordPress website, it is recommended that you install their plugin on your website.

That’s all! You get a whole bunch of options after you have configured Cloudflare on your website. Most of the options are for paid plans but if it helps then we recommend that you upgrade your plans and take full advantage of it!

Make Your WordPress Website 100% Faster.

Host it now on Cloudways WordPress Hosting Platform.

About Ahsan Parwez

Ahsan is the Community Team Manager at Cloudways - A Managed Cloud Hosting Platform. He loves to solve problems and help Cloudways' clients in any aspect he can. In his free time, you can find him playing RTS PC games.

Stay Connected:

You Might Also Like...