Can I enable CloudFlare on my root domain? ie example.com

 

CloudFlare can only accelerate and protect CNAMES. Since your root domain is an A record, we recommend that you forward your traffic to ‘www' through your .htaccess file. If you do 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.

To get around this problem we suggest you redirect your root (example.com) domain to www.example.com This can be easily achieved by adding the following to your .htaccess file (note the leading dot)

 

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

If you wish us to do this for you please email support@hooplahosting.com or open a Support ticket,

 

 

Was this answer helpful?

 Print this Article

Also Read

How much does CloudFlare cost?

For most users CloudFlare is completely free. To see the CloudFlare plans please visit here...

I activated CloudFlare from my Hoopla Hosting account. Do I also get an account on CloudFlare.com? What is the difference?

Once you activate CloudFlare on Hoopla Hosting you also get an account at www.cloudflare.com....

I tried CloudFlare and have an issue. What should I do?

When you enable CloudFlare, there should be no noticeable difference to your website. If your...

Where are CloudFlare’s data centers located?

CloudFlare’s network currently has 12 locations. San Jose (US), Los Angeles (US), Chicago (US),...

How does CloudFlare’s technology work?

CloudFlare works as a reverse proxy. What this means is that once your website is part of the...