How to Activate Cloudflare on a Hosted Domain

You can easily activate Cloudflare on any of the domains you’re hosting in your HostM account.

Activating Cloudflare on a domain is free and offers the following benefits:

  • Increased speeds due to the website’s assets such as images being automatically populated onto multiple servers worldwide.

  • Enhanced security due to the inclusion of an additional layer of web application firewall provided by Cloudflare.

This easy tutorial shows you how to activate Cloudflare on a hosted domain in your HostM hosting account.

  1. Ensure that your domain is using the correct nameservers, since activating Cloudflare will involve some updates to your domain’s DNS records on our nameservers. The correct nameservers to use are as follows:

    • ns1.hostm.net
    • ns2.hostm.net
    • ns3.hostm.net

    Please do not use third-party nameservers (such as your domain registration provider’s nameservers, or Cloudflare’s nameservers), as you will run into unnecessary complications or downtime when certain types of system updates occur on our end.

  2. If your domain is currently using Cloudflare’s nameservers:

    • After correcting the nameservers to the ones listed above, open a Client Care ticket to request that SSL be installed on your domain. This is normally done automatically when you add a domain to your hosting account, but since your domain already resides on the account, you’ll need to request it manually.

    • Before proceeding any further with this guide, wait 24 hours for ISPs worldwide to recognize the nameservers change, then remove your domain from your account on Cloudflare’s website.

  3. If you have not already done so, ensure that your website is set up to be accessible via HTTPS. This allows for full end-to-end SSL when Cloudflare is activated.

  4. For the root domain (e.g. example.com), Cloudflare works on the www. version of the web address (www.example.com), so be sure to set up a redirection from the non-www. to the www. version of the web address. You will have already done this whilst performing step 3, but if not, please be sure to do so.

    Subdomains (e.g. sub.example.com) work on Cloudflare both with or without the www., but you would normally redirect from www. to non-www. instead (the opposite of what you do with the root domain). This, too, will have been addressed in step 3.

  5. Sign in to your HostM hosting account’s cPanel.

    Your cPanel access details are listed on the hosting account’s Info page in the Client Lounge.

  6. Under the Software heading, click the Cloudflare icon.

  7. If it isn’t already selected, select the domain for which you’d like Cloudflare to be activated from the Active Zone drop-down menu in the top left.

  8. Click the Domains icon at the top of the page.

  9. The domain should now be listed in the table in the middle of the page.

  10. If it says ‘inactive’ in the ‘Use Cloudflare’ column, click the Provision Domain with CNAME Setup button below the table. Otherwise, skip to the next step.

  11. You should see a table full of entries with On/Off switches to the right.

    Ensure that the both the example.com and www.example.com entries (replace example.com with your actual domain) have their switches set to On.

    All other entries (including those set up by the system itself) should be left untouched, with their switches set to Off.

    If you wish to also activate Cloudflare on one or more subdomains, please do not activate them using that page at this time. Instead, please open a Client Care ticket via the Client Lounge to let us know which subdomains you’d like to activate Cloudflare on.

  12. Click the Settings icon at the top of the page.

  13. Under SSL, select Full Strict if it is not already selected.

  14. Congratulations, Cloudflare is now activated on your hosted domain!


Love our guides? HostM offers professional and helpful web hosting services with unlimited features and renewal rates that actually match our advertised rates.