Can I enable CloudFlare on my root domain (i.e. mywebsite.com) that is an A record?

If you activate CloudFlare through SkyToaster, CloudFlare can only accelerate and protect CNAMEs, not A records, which often includes the root domain. If you have traffic that goes to your root domain and you want to accelerate and protect the traffic using CloudFlare, you can add a redirect to ‘www' in your .htaccess file.  The following code should work in most instances, if not contact support for help:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
  • Cloudflare
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is CloudFlare?

CloudFlare is a performance and security service that we provide to our customers. On average, a...

What is the association between SkyToaster and CloudFlare?

SkyToaster is always looking for ways to improve our hosting, and as such as partnered...

How does CloudFlare’s technology work?

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

Where are CloudFlare’s data centers located?

CloudFlare's network consists of 40+ locations and growing to give you the best possible service....

What types of websites can use CloudFlare?

Almost all websites can use CloudFlare. CloudFlare works for both static and dynamic websites....