How do I enable CloudFlare within cPanel?
You can enable Cloudflare in just a few simple clicks...
Step 1:
Your customers will see the CloudFlare icon in the Software/Services portion of their cPanel:
1. To enable CloudFlare, click on the CloudFlare Icon in the Main Control Panel Interface (Under Advanced Tools).Step 2:
Your email address should alreayd be entered into the field, so all you have to do is check the terms of service box and click the Signup Now button. Voilla, your site is ready to be Supercharged!
Step 3:
Clicking on the CloudFlare icon will automatically enable CloudFlare for your customer’s site and will direct them to a page with details on their CloudFlare account
Step 4:
The interface will pull up a list of sub-domains for which your customer can enable CloudFlare.They can activate and deactivate CloudFlare for each site by toggling the between the orange and grey cloud.
Step 5:
To access CloudFlare’s analytics, customers should click on the “Statistics & Settings” link on the CloudFlare page in their cPanel:
Additional Steps
Cloudflare works from CNAME so basically it will work for www version of the site, Please add this code in script .htaccess file so that all non www request are rewritten with www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
Above change mysite.com with your domain name.