Implementing SendGrid with Exim on cPanel

Updated 3/9/21 Setting up your cPanel server to send through a third-party mail server is very easy to do, if you understand the basics of how cPanel builds its Exim configs. You never want to edit your exim.conf file directly – your changes will be wiped out any time a cPanel update runs or someone…

Read more

How to Easily Monitor Cluster Status

If you are running cPanel 11.28 or higher (which we hope you are, considering the current release at the time of this writing is 11.40!), you have the option in WHM to automatically disable DNS clustering if too many connection failures occur:     While this can be a handy feature, if you have a…

Read more

Install Tomcat 7 on a cPanel Server

Update: cPanel is no longer supported by cPanel for CentOS 7 or newer. It is recommended that you use cpanel4j. The below instructions are no longer relevant for CentOS 6 or older servers, since cPanel now includes Tomat 7 in EasyApache 3. CPanel has soon promised that Tomcat 7 will be supported in a future…

Read more

Fixing cPanel Locale Errors

If you receive an “Internal Death” (generic cPanel speak for “something broke”) when accessing WHM and/or cPanel, the first thing you should do is check the cPanel error logs at /usr/local/cpanel/logs/error_log.  You may see something like this: die [Internal Death while parsing [stdin] xxxxx] Read of CDB_File failed: Protocol error at /usr/local/cpanel/Cpanel/CPAN/Locale/Maketext.pm line 217. Cpanel::CPAN::Locale::Maketext::maketext()…

Read more

Restoring DNS Zones on a cPanel Server

In rare situations, the DNS zones located in /var/named might disappear. We’ve heard of this happening after certain bind package updates, or simply due to administrator error. In either case, it may be possible to restore or at least recreate the missing zones.  Even if the server in question does not act as a nameserver,…

Read more

Using Skeleton Directories in cPanel

The skeleton (aka “skel”) directory is one of the frequently ignored features on Linux servers, especially for hosting providers.  With the skel directory, you can easily configure a default set of files to be automatically copied into new user accounts, which is particularly useful for customizing the holding pages for new customer websites.   On…

Read more

How to Change the Location of MySQL on cPanel

There may be some situations where you have to move the location of MySQL, for example, if you’re out of disk space or perhaps looking to host it on another device to increase performance. Whatever the reason, moving MySQL is simple and has no impact ct on cPanel’s functionality.   1) Create a backup  …

Read more

Log in