How to setup CloudFlare from Scratch

Everyone is working on increasing page loading speed of their website because it affects your ranking on Google. There are many well-known methods that are available for increasing page load speed, these methods are:

A cache plugin

Image optimization

The content delivery network is one of the most famous ways to improve your page load time. It has been announced officially by Google that your page will have higher rankings if it loads faster.

In the market, there are many free and paid content delivery networks available. Today we will discuss how to setup CloudFlare content delivery network from scratch.

What is CloudFlare CDN & Why It’s free?

The CloudFlare content delivery network has various servers that are located globally which caches the most popular content from your website.

Every page is loaded by the server which is close to the user operating the website. It also minifies javascript that optimizes the web page.

CloudFlare provides more security to your site from attacker’s ad spambots. It helps in filtering the unwanted traffic that reaches your site.

With these great features, CloudFlare makes your server load faster with the increase in performance. Whenever your hosting server goes down for regular maintenance, then CloudFlare serve the cached version of your website.

One of the best parts of CloudFlare is that its basic plan is entirely free.

How to setup CloudFlare free CDN from cPanel?

cpanel-cloudflare

There are many good hosting companies like Bluehost, HostGator that have done the partnership with CloudFlare and integrated an option in the cPanel for installing CloudFlare in just one click. If you are not sure that your web hosting companies are providing this option then just login to your cPanel and check if there is CloudFlare logo in the advanced settings option.

Simply proceed with the automatic installation if you found the icon else you have to do a manual setup. If you found such icon, then it will be easy for you to configure CloudFlare. In this article, I will explain both the methods of setting CloudFlare.

Automatic Setup via cPanel hosting:

1.) Click on CloudFlare in the advanced tab. You will get the option to select the domain name on which you want to set up CloudFlare.

cpanel-cloudflare-1

2.) After selecting the domain name click on the Gray Cloud icon for turning it on or Orange icon for turning it off.

cpanel-cloudflare-2

3.)  You are done with it. Now your host will do the setup for basic CloudFlare protection, and they will update the DNS on your behalf.

Configuring CloudFlare manually (Which we recommend)

If your hosting company is not providing options for automatic installations then it is not an issue, you can install CloudFlare manually. Here are the steps to follow for installing CloudFlare manually:

1.) Go to their website http://www.cloudflare.com/ and sign up for a new account. Fill the form for sign up.

2.) In next step add your site URL.

configure-cloudflare

3.) Now you have to wait for few seconds as CloudFlare will scan your existing domain records. After the completion, you will be redirected to DNS zone. You have to verify all records that have to transfer.

Now you will option to choose a particular subdomain. If you see the orange cloud, that means subdomain is cached and will be served through CloudFlare. If you see a gray cloud, that means that particular subdomain will open on the web server.

4.) Now you will get the option to select the plan for your CloudFlare account. As we all know, the basic plan on CloudFlare is entirely free. You can choose a paid plan if you need additional benefits. You can check the faqs on CloudFlare website for knowing in detail.

cloudflare-plans

5.) In the last step, CloudFlare will provide you two DNS name servers. You have to replace it in domain management section in your website cPanel. This can take up to 24 hours for setting up.

Check out Black Friday Hosting Offers, Deals & Coupons

If you are using CloudFlare CDN or if you are planning to install it on your website then don’t forget to share this tutorial with your blog readers and also share it on social media.

About the Author:

Anmol is an engineering drop out & he is doing internet marketing since the age of 18. He loves to learn new things and test them practically before sharing with the world.

5 Comments

  1. Abhay Singh November 12, 2016 at 11:52 am - Reply

    Hey Anmol

    I just signed up for Cloudflare. I understand the process you described..i think you guys missed something… Two CloudFlare Nameservers. I am getting two CloudFlare Nameservers and now I am totally confused which one should i use for my website now.. Can you guys help me?

    • Anmol Singhi November 13, 2016 at 6:51 am - Reply

      Yes, you will get two name servers and you have to update both of them in your domain management section.

  2. Shivankar December 24, 2016 at 8:08 am - Reply

    Short and sweet, It gave a full overview about cloudfare setup, I did it long back so I forgot, got it quickly done.
    Thanks to this article.

    • Anuradha Chawla December 27, 2016 at 4:36 pm - Reply

      Hello Shivankar

      I am glad that you liked the article and it helped you. Hope to see you again here.

      • Anuradha Chawla December 27, 2016 at 4:37 pm - Reply

        Hi

        I am glad that you liked the article and it helped you. Hope to see you again here.

Leave A Comment