Archive for category cPanel

How to migrate a website from addon domain(or subdomain) to main domain or vice versa

How to migrate a website from addon domain( or subdomain) to main domain or vice versa =================================================== 1. Download all emails under the account to be migrated using a mail client like outlook express 2. Download files backup & database backup of addon domain(or subdomain or main domain) with the help of a developer 3. […]


How to enable domain keys and SPF records in cPanel server?

Domain keys: DomainKeys is an e-mail authentication system designed to verify the DNS domain of an e-mail sender and the message integrity. Using the following command we can enable domain keys for domains in cPanel server. === /usr/local/cpanel/bin/domain_keys_installer username where, username is the username of the domain. === Command to install Domain keys for all […]

Leave a comment

How to use a second partition for creating accounts in cpanel

Cpanel/WHM allows to use folders other than /home for creating cpanel account. If you run out of disk space in a cpanel server, you can add a new hard drive, format and mount it as /home2 Once this is done, you have two options to tell cpanel to utilize /home2. 1. Edit /etc/wwwacct.conf and set […]

Leave a comment

Tweaking spamd in cPanel servers

Spamd is a high memory consuming process. The best way to manage and tweak this process is to install the cPanel Addon called “spamdconf”. You can follow the steps mentioned below for installing and managing “spamdconf”. ** Login to WHM as root ** Navigate to cPanel >> Manage Plugins. ** Search for “spamdconf ” and […]

Leave a comment

Disk usage for email IDs is showing negative values

Sometimes in cPanel the disk usage of e-mail accounts will show negative values. The issue can be resolved by executing the following cPanel scripts. ************* #/scripts/generate_maildirsize –force –all accounts #/scripts/upcp –force *************

Leave a comment

Dcpumon: cPanel monitoring script for CPU & memory usage

How to view the CPU, memory & Mysql resource usage for a particular user in a cPanel server from command line? Dcpumon is a CPU/Memory accounting script which stores percentage values of CPU and Memory usage under /var/log/dcpumon. By default, a cron has been setup to run the script for every 5 minutes and by […]

Leave a comment

/usr getting filled up in cPanel server

/usr getting filled up in cPanel server ======================================= Following actions can be performed if /usr is consuming high disk usage: Check whether it is getting filled up due to mailman. root@server[/usr]# du -sch /usr/local/cpanel/3rdparty/mailman 4.8G /usr/local/cpanel/3rdparty/mailman 4.8G total root@server[/usr]# If mailman is having maximum disk usage, you can move it to /home and create a […]

1 Comment