Peak Webhost / Dogbits Services
Please Login or Register

Knowledgebase

Cloudflare Installation Guide

Cloudflare Installation Guide for Peak Web Hosting

Activating Cloudflare for your domains hosted with us is a relatively simple process however there are a few things that you should do before actually activating it in cPanel to ensure everything goes smoothly.

1. Make sure that all of your email programs access your pop/smtp accounts with the server settings mail.yourdomain.com (you replace yourdomain.com with your domain name)

2. In your control panel ensure that in the top “Preferences” setting that you have a

valid email address in the “Update Contact Info” section. This is needed to automatically create your Cloudfare account for access to advanced options.

3. Cloudflare accelerates and protects all traffic to www.yourdomain.com and to ensure that all web traffic gets routed that way we have a few lines of code to add to the .htaccess file on your domain. Here is how to configure that.

a. If you are running Wordpress or Joomla or some other script where your domain is in the settings of that application, set it to www.yourdomain.com if it is now just yourdomain.com. This will avoid any conflict once you modify the .htaccess file.

b. Using a FTP program or File Manager in cPanel locate the file named .htaccess in your public_html folder. If one does not exist you can use a simple text editor like notepad in windows to create one then copy it into the public_html folder on your site.

c. Insert the following into your .htaccess and save it into the public_html directory. Once done anyone going to yourdomain.com is automatically routed to www.yourdomain.com.

RewriteEngine On

# Rewrite added for CloudflareInstall - yourdomain.com # Wednesday 25th of August 2010 04:59:42 AM

RewriteCond %{HTTP_HOST} ^ yourdomain.com$ [NC] RewriteCond %{SERVER_PORT} ^80$

RewriteRule ^(.*)$ http://www. yourdomain.com/$1 [R=301,L]

d. It is probably not necessary, but you want to now verify that your site is working normally and contact forms etc are working properly. If all is OK proceed to the next step. If not remove the added lines from .htaccess and email support@quessinc.com.

 

4. Now go down to the “Software/Services” section of control panel and click on the “Cloudflare” icon to activate it. It will display your email address from Step 2 above as well as a check box to acknowledge their terms and conditions then press the “Signup Now” button. It will display a acknowledgement that it is activated then go to a new screen.

5. On the new screen you will see your domain and a Grey Cloud, simply click on the Cloud to activate Cloudflare for your domain. The cloud will turn Orange once activated.

6. After it is activated click on the “Statistics and Settings” link and you can adjust the security level and after the first 24 hours see the stats for how fast it is speeding up your site, the number of visitors etc.

7. On the bottom of the statistics and settings screen there is a link to sign into your account at Cloudflare, while not necessary signing in will give you access to a lot of advanced features you can access for your site and I highly recommend it. The first time you access it click on the “I forgot my password” link to generate a new password. I will cover advanced topics in another document.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Cloudflare FAQ (Views: 638)

Powered by WHMCompleteSolution

Quick Navigation

Client Login

Email

Password

Remember Me

Forgot Your Password?
Click Here for New Password

Search