Knowledgebase: General
Cloudflare on domain pointed with an A record
Posted by on 02 December 2012 10:00 PM
|
|
Cloudflare can only work on CNAMES, which 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.
RewriteEngine On # Rewrite added for CloudflareInstall RewriteCond %{HTTP_HOST} ^mysite.com$ [NC] RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L] | |
|
Comments (1)
Ron & Ines Wagner
13 November 2013 10:17 AM
how to work CNAME