Cheap Web Hosting, Shared, Reseller, VPS, Dedicated, RapidLeech Hosting > Knowledgebase > Host / Server > How Can I enable CloudFlare on my root domain (i.e.

How Can I enable CloudFlare on my root domain (i.e.

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 will be accelerated and protected by CloudFlare
(and shown in the statistics) and any traffic to will not be served by CloudFlare. # Rewrite added for CloudflareInstall -

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

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read