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 Enable Custom RBL’s in cPanel

By default, WHM gives you the option of using Spamhaus and/or Spamcop for added SPAM protection for incoming email. If you have additional DNSBL’s (DNS-based RBL’s) that you want Exim to check email against, you can easily enable them if you’re...

How to Delete 🚮 cPanel Frozen ✉️ Emails

Howto check number of emails in the mail queue: exim -bpc To check the email ID, sender and receiver of the each email: exim -bp | more To delete frozen emails from the mail queue, execute: exim -bp | grep 'frozen' | awk '{print $3}' | xargs exim ...

How to Enable Basic cPanel End-User Security

As much as you are concerned about the security of your servers, your end users are likely just as concerned about what measures you have in place to protect their accounts against hacking attempts and unauthorized access. The following tips will...

How to monitor and 🔄 auto restart cron service in cPanel

Sometimes the crond service fails quite often without any clue and it becomes necessary to monitor the cron service and auto-restart it. cPanel offers ‘chkservd’, a monitoring daemon that monitors the services on the server and restart them if found...

⚠️ phpMyAdmin: Cannot start session without errors

You receive the error message “Cannot start session without errors” while accessing phpMyAdmin in cPanel. phpMyAdmin will not work if any of the following settings are incorrect on a cPanel server. 1. The owner and group of...

cPanel tailwatchd Failed

An email from a cPanel server with the “tailwatchd failed” warning message indicates that either the cpanel service is offline/down OR the cpanel service was restarted. The complete message looks like the following: tailwatchd failed @ Tue Jan 5...

How to Install Suhosin in cPanel

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in...

How to Increase cPanel Memory for Java TomCat

In order to increase memory limit for Java, perform the following steps, edit the file: /var/cpanel/tomcat.options Insert the following 2 lines: Xmx200M Xms100M where, Xmx is the upper limit and Xms is the lower limit. You have to replace the values...

How to ODBC support on a cPanel server

You first have to install the devel packages for unixodbc, then add a line in rawopts file and rebuild Apache+PHP. 1. Install the UnixODBC devel packages: yum install unixODBC unixODBC-devel 2. You now need to create a file “all_php7″ to add a line...

⚠️ Fatal! Write Failure: /etc/valiases/domain.tld ⚠️

You may see error “Fatal! Write failure” error message while adding email forwarders OR setting a catchall email address from cPanel >> “Email Accounts” section. The error is: Fatal! Write Failure: /etc/valiases/domainname.tld. Ignore any...

How to Install mod_cloudflare in cPanel

When using Cloudflare, all the hits to your web server will come from a Cloudflare IP address. So in order to retrieve the actual IP address from the visitor you must install mod_cloudflare. 1. Connect to your server through SSH and log in as...

How to Change SSH port 🔢 in cPanel

In order to change SSH port and protocol you will have to edit sshd_config

nano /etc/ssh/sshd_config

Change Protocol 2,1 -> to Protocol 2Change #Port 22 -> to some other port and uncomment it

Example:

Protocol 2
Port 2345