Cloudflare is removing support for their cPanel plugin as of June 15 2022. We advise all customers who are looking to use Cloudflare enroll directly through https://www.cloudflare.com/
Hawk Host is an official hosting provider of Cloudflare. As a result, we have implemented a module right in cPanel to allow one click activation of Cloudflare with any domain on our servers. To active Cloudflare on any Hawk Host shared hosting account:
- Login to your cPanel account and type 'Cloudflare' into the top left finder
- If this is the first time accessing the Cloudflare interface, you will be asked to create an account. Provide your email address and agree to the terms of service once you read it. You will then be emailed a welcome email by Cloudflare for your Hawk Host account
- Once your account is created, you will be taken to the Cloudflare interface which lists all of your accounts domains. By default, they will not be powered by Cloudflare
- To enable Cloudflare for any domain, simply click on the cloud. Once selected, Cloudflare will be enabled and the cloud will go from a grayed out image to bright orange
- Once enabled, you can select the 'Statistics and Settings' option to view traffic for your domain and also modify the security settings. To view all of your available options, you must login to your Cloudflare account directly
- Your site is now fully Cloudflare enabled. To disable Cloudflare, simply select the orange cloud again and it will be grayed out, indicating Cloudflare is no longer enabled
Note: Cloudflare does not modify the base A record for your domain (IE: domain.com) and only modifies sub-domains / CNAME records. If you want your base domain to be Cloudflare enabled you'll need to have it redirect to www.yourdomain.com. To achieve this follow these instructions:
- Add or modify your existing .htaccess file (usually located in /home/yourusername/public_html/.htaccess) and add the following lines: