Setting Up Wildcard DNS with cPanel

Wildcard DNS allows a server to display and combination of subdomains for a website. For example, wildcard DNS for thecpaneladmin.com will allow any subdomain to resolve to this website, even if they have not been specifically created. Subdomains th The 24 Hour Sinus Breakthrough! at have been created individually in cPanel will still route to…

Read more

Automating Apache and PHP Updates

A lot of hosts that deploy a large number of servers are automating updates instead of running them manually. While cPanel updates can be automated as well, it’s become a common question of how to automate Apache and PHP updates across a large number of servers without having to manually run EasyApache on each server,…

Read more

How to Enable Passive FTP

Passive FTP is not enabled with pure-ftp by default. To enable this, edit /etc/pure-ftpd.conf and uncomment out this line: PassivePortRange 30000 50000 This means that FTP will answer passively on the range of ports between 30000 and 50000, so you may want to narrow the scope to something like 30000 to 35000. Once you do…

Read more

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

Log in