How Can I enable CloudFlare on my root domain (i.e. mywebsite.com)?

At first signup and activate CloudFlare from cpanel from CloudFlare menu under "Software" section/tab.

After that follow this if you can't setup for domain.

CloudFlare can only accelerate and protect CNAMEs, not A records, which often includes the root domain. If traffic goes to
a root domain and you want to accelerate and protect the traffic using CloudFlare, you can add a redirect to ‘www’ in your
.htaccess file.
If the user does not forward the traffic, then any traffic to www.mydomain.com will be accelerated and protected by CloudFlare
(and shown in the statistics) and any traffic to mydomain.com will not be served by CloudFlare. # Rewrite added for CloudflareInstall - mysite.com


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

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How Can I Find My cPanel Login Details?

There are two ways for you to access your cPanel username and passwordOption 1:1. Login to...

508 Resource Limit is Reached

The error message "508 Resource Limit Is Reached" appears when your account is constantly...

I activated CloudFlare, but do not see any statistics

There are two main reasons why this would happen.1. No traffic to subdomain• CloudFlare is...

How Can I Activate ionCube Loders?

  If your script has been encoded using the ionCube encryption system, then you need to install...

How to transfer my website content myself?

If you would like to transfer your website content yourself, here are some guidelines you might...