Changing a Site’s IP Address

There are three ways to change a site’s IP address on a cPanel server: Via WHM: Go to WHM > Change site’s IP Address , select the account, then select the IP Via Command Line: /usr/local/cpanel/bin/setsiteip -u $user $ip Manually: (This is also useful for changing the IP address of a single domain in an…

Read more

Installing and Configuring Dovecot

Enabling Dovecot You can convert a server from cppop or Courier IMAP to dovecot by running the following command: /scripts/setupmailserver dovecot   Configuring Dovecot Most relevant configurations can be made via WHM > Mailserver Configuration, but you can also change these via the config templates. You generally have to save the config via WHM at…

Read more

Modifying SMTP Relay Settings for Exim

cPanel’s stock installation of Exim includes a Tailwatchd driver called Antirelayd . Antirelayd is a daemon that checks /var/log/maillog for POP3 and IMAP logins and keeps track of valid logins for SMTP relaying. It reads /etc/relayhosts file automatically which is dynamically-updated, so any IPs that you add to this file will not be retained. By…

Read more

Installing ImageMagick on a cPanel Server

This post is obsolete as of cPanel 11.36. To install ImageMagick:  yum -y install ImageMagick-devel ImageMagick-c++-devel For PHP: /usr/bin/pecl install imagick For Perl: yum -y install ImageMagick-perl (You may need to temporarily remove “perl*” from /etc/yum.conf) LEGACY VERSION INSTALLATION: Some time in earlier 2009 cPanel added a new script to their repository to allow cPanel…

Read more

Installing an SSL Certificate for MySQL

From time to time I’ve had users ask me to install an SSL certificate for their MySQL server. Currently this support is not enabled in cPanel automatically, nor is there an option to use it in WHM > Manage Service SSL Certificates at the time this article was written. However, you can install a certificate manually by following a few simple steps.…

Read more

Increasing the Size of tmpDSK (/tmp)

You may have noticed that cPanel’s default partition size for /tmp is 512 MB, which in some cases can be way too small. The /tmp partition on cPanel servers, assuming it was the one cPanel created and not one you did yourself, is a file-based partition that can easily be resized.…

Read more

Statistics Management

One of the more important features to customers is the ability to view and analyze their web traffic. CPanel offers three statistics programs for end users to view their stats, all of which are free and open source: Analog AwStats Webalizer Configuring Stats In WHM, go to Statistics Software Configuration and select which statistics programs…

Read more

Log in