How can I enable Cloudflare? Друк

  • 1

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:

  1. Login to your cPanel account and type 'Cloudflare' into the top left finder

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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:
  1. Add or modify your existing .htaccess file (usually located in /home/yourusername/public_html/.htaccess) and add the following lines:
  2. RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] # Replace with your actual domain
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301] # Replace with your actual domain

Ця відповідь Вам допомогла?

« Назад

Ready to get started? Build your site from
$2.24/mo
GET STARTED NOW