Knowledge Base

How to activate CloudFlare

This article describes how to activate CloudFlare for your web site.

Activating CloudFlare

There are two setup options for Cloudflare:

  • Partial (CNAME) setup
  • Full DNS setup.

When you use Partial (CNAME) setup, A2 Hosting manages your web site's DNS settings. You can quickly and easily enable and disable CloudFlare for your domain and subdomains from within cPanel, as well as view basic site statistics.

When you use Full DNS setup, CloudFlare manages your web site's DNS settings, only some settings may be managed from within cPanel. Login directly to the CloudFlare site to manage all settings for your domains.

Which activation method you use depends on how you want to manage your CloudFlare and DNS settings (that is, from within cPanel or by logging into a separate site). Of course, if your account does not include cPanel, then you must activate CloudFlare using their web site.

Option #1: Partial (CNAME) setup

To activate CloudFlare with Partial(CNAME) setup, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Software section of cPanel, click the Cloudflare icon:

    The Cloudflare icon in cPanel.

  3. On the Cloudflare page, click Create Your Free Account:

    Create your free account button.

  4. A new window appears:

    Cloudflare create account dialog

    • Type an e-mail address and password.
    • Review the Terms of Service, and then select the check box if you agree.
    • Click Create Account to continue.
  5. On the next page, in the Add a Website text box, type the domain to be proxied by Cloudflare. Click Scan DNS Records to continue:

    Scan DNS records button

  6. A brief introductory video appears while DNS for the domain is analyzed. When the video and analysis is complete, click Continue.
  7. DNS analysis results appear on the next page. The settings shown are not important since this method does not use them. Click Continue.
  8. On the next page, choose a plan. Click Free Website, and then click Confirm Plan:

    Select Free Website

  9. The next page displays nameservers to use for your domain. At this point you can close the Cloudflare window. There is no need to update nameservers when using the Partial (CNAME) setup.
  10. Return the the cPanel main page by clicking the logo at the top left of the page.
  11. Return to the Cloudflare page by ckicking on the Cloudflare icon.
  12. Click the Domains icon in the toolbar on the Cloudflare page. The domain added in step 5 above should be listed.

    Domains icon from Cloudflare toolbar.

  13. Scroll to the bottom of the page and click the Remove domain from Cloudflare button.

    Remove domain from Cloudflare button.

  14. The page will refresh after a moment. Now the Partial (CNAME) setup can be chosen by clicking the Provision Domain wiht CNAME Setup button.

    Image of Provision Domain with CNAME Setup button.

You can now configure CloudFlare for your account.

You also receive an e-mail message from CloudFlare that contains important information about your account.

Option #2: Full DNS setup.

To activate CloudFlare with Full DNS Setup follow these steps:

  1. Follow step one through six from Option #1.
  2. After clicking Continue in step 6 above, DNS analysis results appear on the next page. Review the DNS settings to make sure thay are correct. Make any necessary changes and then click Continue..
  3. On the next page, choose a plan. Click Free Website, and then click Confirm Plan:

    Select Free Website

  4. The next page displays nameservers to use for your domain. Make a note of the nameservers.
  5. Use the control panel at the domain’s registrar to change the nameservers to those provided by Cloudflare.
  6. Cloudflare will be active once the nameserver changes have propagated - typically 24 hours or less.

    When you use Full DNS setup only some settings can be managed from cPanel. Use the CloudFlare site instead to manage all CloudFlare settings for your account. For information about how to do this, please visit https://support.cloudflare.com.

More Information

For general information about CloudFlare, please visit https://www.cloudflare.com.