Dimofinf Mobile

Subscribe now to Dimofinf Mobile and enjoy a wide range of premium services. You will receive our SMS text messages wherever you are for a very low cost! More

 Currency Converter

  • Currency
  • US$ Amount

How to enable CloudFlare?

What you will get after activating CloudFlare?

Briefly, once you enable CloudFlare service you will get the following features:

  • Faster Browsing: At least twice the regular speed
  • Optimization for mobile: For faster browsing using smart phones
  • Distribution of the static site contents such as Images, JavaScript and CSS over more than 20 data centers around the world.
  • Decreased monthly used traffic by at least 60% as very least estimate.
  • Less requests by at least 50% to your own account (i.e. Process), and so serving more visitors with about 100% using your current hosting plan.
  • Protection against viruses, malicious crawlers, DoS attacks.
  • Your site always available on internet, with the “Always Online” service your pages are cached and served to your visitors during the server stopping intervals.
  • Railgun feature (costs 200 USD monthly for each domain) which is offered completely free to Dimofinf clients. This feature accelerates the creation and sending of dynamic pages to the visitor.
  • All these are offered completely free together with technical support for Dimofinf clients according to the partnership and cooperation agreement between Dimofinf and CloudFlare.

How to enable CloudFlare?

To enable the service, login to your cPanel, then press the “CloudFlare” icon.

You will get the starting and registration page. Enter you email address, read CloudFlare service agreement, press “OK” then press “Signup Now!”

Wait few seconds, the page will auto refresh and a list with the domains linked to your account will be displayed. In our example there is only one domain (as seen in the image), to complete the activation process press “Edit” besides the domain you want to enable the service on.

The list of domains will be displayed and in our example we will enable the service on only.

To enable the service press the gray cloud till it turns to orange.

With this the service is now enabled on
Note: CloudFlare service works only on subdomains such as,,, or and so on, in case the visitor used without www no acceleration will be done to the connection and no activation for any of CloudFlare services will be done. To fix this issue you can apply the modification in “.htaccess” file (please review the explanation below).
Now we edit some settings, so we press “Statistics and Settings” then edit the settings as seen in the image

Now we will show how to redirect from to follow the below explanation.

How to redirect from to

Open the “.htaccess” file that you can find in “public_html” folder
Insert at the beginning of the file the following code after changing the domain name to your own domain then save the file.
RewriteEngine On
# Rewrite added for CloudflareInstall -
# Wednesday 25th of August 2010 04:59:42 AM
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$$1 [R=301,L]

How to enable CloudFlare service on a sub-domain?

In this example we used the domain and we will continue using it. Suppose we created the sub-domain using the cPanel, before we can enable CloudFlare service on this sub-domain we need to modify the DNS so the sub-domain become compatible with CloudFlare feature in the cPanel.
So go to “Advanced DNS Zone Editor

We want to enable so we will edit it by pressing “Edit”

We will change two things:
  • Change Type from A to CNAME
  • In CNAME field we enter the name of the upper domain, in our example the sub-domain is and the upper domain is

Then save the changes by pressing “Edit Record”

We will get the following result:

Now return to your cPanel main page and press the “CloudFlare” icon, then press “Edit”, choose the sub-domain and press the gray cloud
So it turns orange

With this CloudFlare is enabled on the sub-domain, repeat the process for each subdomain you want to enable CloudFlare on.

Was this answer helpful?

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

Also Read

Challenge Page (Views: 8951)

What is the Challenge Page?The visitors of any website are divided into 3 types:Human Visitors:...

Cache Purge (Views: 9951)

CloudFlare service cache the static files of your site such as Images, CSS and JavaScript in its...

Access to your account in (Views: 13434)

Through Dimofinf hosting control panel you can manage most CloudFlare features, but in case you...

What is CloudFlare and how it works? (Views: 2054)

What is CloudFlare Service?CloudFlare service helps protecting websites from the different...

AutoMinify (Views: 9131)

The Minification process shrinks the size of JavaScript and CSS files, this is done through...