Allowing Users to Customize AwStats

You can allow users to use their own configuration file for AwStats in case they are in need of customizations not provided by the server’s main config. To enable this option, add the following to /etc/stats.conf: allow_awstats_include=1 Alternatively, you can go to WHM > Statistics Software Configuration, and click on Allow Awstats configuration Include file…

Read more

Assign Multiple IP Addresses on One Account

By default, cPanel supports the usage of one dedicated IP per account. However, you can get around this by editing just a few files on the server. Here are the steps: 1. Edit /var/cpanel/userdata/$user/$subdomain.$maindomain for each subdomain (for addon domains you’ll usually edit the file for the subdomain associated with the addondomain) and change the…

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

Adding Services to Chksrvd for Monitoring

Chkservd is a driver of Tailwatchd, which is the service in cPanel that checks to make sure that services are running and restarts them if necessary. It’s also responsible for the ‘Service Manager’ section in cPanel, which is an interface where added services can be easily checked on and off. Service files are in /etc/chkserv.d/…

Read more

Log in