cPanel

cPanel is an online Linux-based control panel that simplifies website and server management.

cPanel allows you to publish websites, manage domains, organize web files, create email accounts, and more.

www.cpanel.net

How to Whitelist a domain name in CSF

If you use dynamic DNS privately and need to whitelist a hostname or domain name in cPanel/WHM, you can use the DYNDNS feature of ConfigServer Security and Firewall plugin. csf.dyndns is a file that is specifically used for allowing hostnames in CSF...

How to disable all cPanel LFD alerts

If clients are complaining for dozens of LFD alerts from their VPS’s running cPanel here is how to completely disable those email alerts. Here are two ways to disable LFD alerts: From WHM > ConfigServer Security & FirewallFrom the...

WHO deleted files in cPanel and where from

Check the following log files:

To check if the files were deleted using FTP

/var/log/messages

To check if the files were deleted using file manager

/usr/local/cpanel/logs/error_log

If the files were deleted using shell access

history

Create bulk email accounts in cPanel

Lately I’ve been dealing a lot with email accounts in cPanel: Bulk change cPanel mailbox quota for all email ✉️ accounts and Bulk delete ✉️ email forwarders in cPanel. Here is how to bulk create email accounts in...

Check when the last cPanel Upgrade was done

First, get the current version of cPanel

cat /usr/local/cpanel/version

and just grep for that version number in update logs:

grep PUT-YOUR-VERSION-HERE /var/cpanel/updatelogs/*

Business vector created by vectorpouch - www.freepik.com

Top 10 Web Hosting Control Panels 🔝🔟

Quick List of the Best Web Hosting Control Panels cPanel – Best Linux-only web hosting control panel for users who want a control panel that’s tried and tested over the yearsPlesk – Perfect Windows/Linux web hosting control panel for users who want...

How to disable Mod_Sec for a specific folder/file

On a WordPress website that is protected with ModSecurity, when admin edits pages using Elementor or Gutenber in wp-admin dashboard, ModSecurity may falsely detect it as XSS attack. What we usually do is disable specific rules that create this false...

How to stop xmlrpc.php attacks on Cpanel / WHM

xmlrpc.com is a WordPress file that was intended to be used for API’s but lately it’s more and more used as a way for hackers to brute-force WordPress installations. To block access to xmlrpc.php on a single WordPress installation add...

Bulk delete ✉️ email forwarders in cPanel

Email forwarders in cPanel are stored in file /etc/valiases/domain *Where domain is the domain name under which email forwarders are created. To bulk delete email forwarders in cPanel you can edit this file with your favorite text editor: nano...