How do I enable CloudFlare within cPanel? Print

  • 246

We offers CloudFlare for free to all Hosting customers. You can enable CloudFlare for your website, in just a few simple clicks:

Step 1

Login to your cPanel account, and scroll down to the Software/Services section where you will see the CloudFlare icon.

cloudflare-step-1


Step 2

Enter Your email address, check the Terms of Service box and click the Signup Now button.

cloudflare-step-2

Step 3

Now You will see a list of all your domains, and you can activate and deactivate CloudFlare for each site by toggling the between the orange and grey cloud.

cloudflare-step-3

Step 4

Congratulations, your website is now supercharged and powered by CloudFlare. You can check CloudFlare analytics for your domains after 24 hours .

 

Additional Steps

Cloudflare works through CNAMEs so basically it will work for www version of the site. Please add this code in the .htaccess file so that all non www request are rewritten with www (change mysite.com to you own domain name)

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

Was this answer helpful?

« Back