How to enable CloudFlare from cPanel

SkyNetHost.Net offers CloudFlare for free with all Shared Hosting and Reseller Hosting plans. Follow this process and you’ll have CloudFlare enabled for your site in no time!

Step 1

Login to your website’s cPanel account, you can either scroll down to the Software/Services section to find  the CloudFlare icon or simply type “CloudFlare” in the search box in the cpanel interface and click on the cloudflare icon.

select-cloudflare-icon-to-enable

Step 2

In the next screen that appears, you need to sign up for cloudflare. Enter your email in the area where it asks for the email. Next check the “Terms of Services” box and click on the “Signup Now!” button to complete the signup process. After that you will be presented with a welcome message. Wait for the page to refresh before proceeding.

signup-for-cloudflare

Step 3

Now let’s activate cloudflare for one of our domains. Click on the coudflare icon to automatically enable it on your domain.

activate-cloudflare-for-your-domain

You will know cloudflare is enabled when the cloud turns orange.

cloudflare-enabled-domain

Step 4

Voila! you’ve just supercharged your website with CloudFlare’s additional features. Be sure to check out your site after 24 hours to see how they are doing by viewing  CloudFlare analytics for your domain. To access CloudFlare’s analytics, click on the “Statistics & Settings” link which appears next to “Status” on the CloudFlare page in your cPanel account.

view-cloudflare-statistics

Additionally….

Since Cloudflare works through CNAMEs, it will basically work for www version of the site. Add this code in the .htaccess file so that all requests which are not www will be rewritten with www (remember to change “yoursite.com” to you own domain name)

RewriteEngine On
# Rewrite added for CloudflareInstall - yoursite.com
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]