Website

The Ultimate Guide for Cloudflare cPanel Plugin Installation on Server

Integrating Cloudflare cPanel plugin with cPanel helps the client to enable the Cloudflare protection on the domain easily. Before installing the Cloudflare Plugin, you should get the HOST KEY from CloudFlare Partners.

Cloudflare is a widely used service which provides security and helps to load website faster. It helps in the mitigation of DDoS attacks on the domain. Kindly refer below-mentioned URL for more details.

https://www.cloudflare.com/certified-partners

Installation

Kindly login to your cPanel server using SSH client with root user and run the below-mentioned commands.

cd /usr/local/cpanel

curl -k -L https://github.com/cloudflare/CloudFlare-CPanel/tarball/master > cloudflare.tar.gz

tar -zxvf cloudflare.tar.gz

When you extract this compressed file, it will contain a directory with a unique ID like Cloudflare-Cloudflare-CPanel-9rlc18n

So 9rlc18n is unique ID

cd cloudflare-Cloudflare-CPanel-UNIQUE ID/

./cloudflare.install.sh -k HOST KEY -n “YOUR COMPANY NAME”

HOST KEY: You will get from Cloudflare Partners

This command will start the Cloudflare plugin installation on your server and will take a few minutes to get it complete. Once installation gets completed then you can verify the installation by login to your cPanel account. Now Cloudflare Icon will appear in cPanel under the “Software” section.

Check CloudFlare Plugin version on cPanel Server

Kindly run the following command on shell to check CloudFlare Plugin Version

cat /usr/local/cpanel/base/frontend/paper_lantern/cloudflare/config.js | grep version

Update CloudFlare Plugin on cPanel Server

Kindly run the following command to update CloudFlare Plugin on your cPanel server.

/usr/local/cpanel/bin/cloudflare_update.sh

Uninstall Cloudflare Plugin on cPanel Server

If you wish to remove CloudFlare plugin from your server then run the below mention command to uninstall CloudFlare plugin on your server.

Note: Uninstallation does not remove DNS zones and users who are got registered at Cloudflare through the Cloudflare plugin.

bash <(curl -s https://raw.githubusercontent.com/cloudflare/Cloudflare-CPanel/master/cloudflare.uninstall.sh) && rm -f cloudflare.uninstall.sh

Enabling Full DNS Setup option in Cloudflare Plugin

Cloudflare plugins provide 2 options to end-users to setup Cloudflare. CNAME Setup, which is default enable and cannot be disabled.

Another Option is Full DNS which needs to enable from shell first in order to use it from cPanel. This feature needs the domain’s DNS {nameservers} points to Cloudflare’s DNS {nameservers}. It is very easy to enable the Full DNS setup from Shell, you just need to modify the following file on the server.

vi /usr/local/cpanel/base/frontend/paper_lantern/cloudflare/config.js

Now locate the parameter “featureManagerIsFullZoneProvisioningEnabled” and change its value from “False” to “True” and save this file. Now Full DNS setup is enabled.

That’s all.


Amit Jadhav
Amit Jadhav is working in Hostripples since years he is a passionate engineer... He is working as a senior technical support engineer, as it's a responsible position because it's a lifeline to our customers... Moreover he is dealing in troubleshooting server problems and is always ready to assist our customers in technical issues... Hostripples is glad to have Amit Jadhav on the board...

Recent Posts

How to Get More Customer Reviews That Build Trust and Sales?

Customer reviews have become one of the most influential factors in modern buying decisions. Before choosing a product, service, or…

2 days ago

Why Micro-Influencers Matter: How Small Creators Drive Higher Engagement and ROI

In today’s digital landscape, consumers trust people more than brands. Traditional ads are often ignored, celebrity endorsements feel scripted, and…

1 week ago

2026 SEO Roadmap: Skills Every Digital Marketer Must Have

Introduction: SEO in 2026 Is No Longer Optional—It’s Strategic Search Engine Optimization in 2026 has evolved far beyond keywords and…

2 weeks ago

Website Affirmations for 2026: Build, Grow, and Succeed Online

With 2026 just days away, it’s time to reimagine your website’s future. Hostripples encourages businesses, creators, and entrepreneurs to begin…

1 month ago

Cron Jobs: Automate Everything While You Sleep

Cron Jobs – The Unsung Heroes Think of cron jobs as the unsung heroes of your server — capes optional,…

1 month ago