Update Cpanel License Key
To check if your server IP has license, go to https://verify.cpanel.net/app/verify To update cpanel server license, run Example Back to Cpanel Server
To check if your server IP has license, go to https://verify.cpanel.net/app/verify To update cpanel server license, run Example Back to Cpanel Server
Login to WHM. Go to ModSecurity™ Vendors. By default cpanel come with “OWASP ModSecurity Core Rule Set V3.0” rule. To enable it click on “+ install” link right side. To add a third party rule set, click on “Add Vendor” button. To install comodo WAF rules, enter https://waf.comodo.com/doc/meta_comodo_apache.yaml Click “Load”, you will see some info … Read more
JetBackup is a remote backup program for Cpanel Servers. You can get it from https://docs.jetbackup.com/v5.2/adminpanel/generalInformation.html#installation-guide To install Jetbackup for Cpanel, run Once installed, you need to do the following 1) Add a backup destination 2) Create a Backup Jobs
xmlrpc.php is part of wordpress. It is used for some API. This is used by hackers to bruteforce WordPress installations, that can cause high server load and slow server performance. On cpanel server, to prevent xmlrpc.php attack go to WHM > Service Configuration > Apache Configuration > Include Editor click on “Pre Main Include”, then … Read more
ImunifyAV is a Free version of a malware scanner for websites. To install ImunifyAV on Cpanel To start/stop, run If that did not work, you can use the following command, which works on Cpanel, Plesk, and DirectAdmin server Install Cpanel Plugin By default, ImunifyAV doesn’t show up in the Cpanel interface. To enable the Cpanel … Read more
On a Cpanel server running CloudLinux, PHP Selector did not show all PHP versions. I reinstalled EasyApache profile “CloudLinux + All PHP Options + OpCache + mod_lsapi”. Even after installing EasyApache profile with all PHP versions, PHP 7.2 and PHP 7.4 was missing on this server. To fix, the problem, i run
CloudLinux come with PHP Selector, this allow you to select differnt PHP versions. When you enable PHP selector, you should do the following. 1) EasyApache 4 and bild profile “CloudLinux + All PHP Options + OpCache + mod_lsapi”. 2) MultiPHP Manager > System PHP Version set to any ea-php Version 3) MultiPHP Manager > System … Read more
To bypass SMTP authentication for specific IP on Cpanel Exim mail server, edit file vi /etc/alwaysrelay Add IP or Hostname you need to allow sending email with out SMTP autentication and restart exim mail server. systemctl restart exim
EDIT 2022-06-20: Cpanel completely removed support for PHP 5.6, so this method no longer works on AlmaLinux 8. If you need PHP 5.6, the best solution is to use CloudLinux, which provides support for older PHP versions. CloudLinux is a popular Linux distro used by many shared hosting providers as it allows for better security … Read more
On Cpanel server with KernelCare installed, i keep getting email This is because the kernel is not yet supported by kernalcare. Since this kernal is provided by CloudLinux, you don’t have to worry. CloudLinux support said they do add support for KernelCare after 3 to 4 days of releasing new kernel. To disable this warning, … Read more
On a Cpanel Server using CentOS 7 + php-fpm, site phpinfo() shows few functions are set to disabled in disable_functions. I checked server wide PHP configuration in WHM for the PHP version the site is using. There is no disable_functions specified. WHM > Software > MultiPHP INI Editor > Editor Mode > PHP 7.3 This … Read more
On Cpanel server, to find username for a web site, run /scripts/whoowns DOMAIN_HERE Example