Vidensdatabase

How can I enable Cloudflare?

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
  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

Accessing SpamExperts and creating separate SpamExperts users

All cloud web hosting, semi-dedicated, and reseller hosting services include enterprise level...

Adding an IP or port to a whitelist

Our default firewall rules allow most applications/software to run without issues on our shared,...

Adding or Editing your DNS Zone Records (A,AAAA,CAA,CNAME,DMARC,M...

Any website hosted through Hawk Host which is using Hawk Host's nameservers (nsX.hawkhost.com)...

Can I password protect directories?

Yes, do the following within cPanel: 1) Search for the "Password Protect...

Configuring e-mail in Mac OSX (Mail.app)

This guide assumes you've already setup your email accounts through cPanel. If you have not first...