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. […]

13 Comments

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 […]

1 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

WHM error while adding IP address – Skipping xxx.xxx.xxx.xxx already added

Error message: ===== All Requested Ips were already active System has 1 free ip. Skipping XX.XX.XX.XX .. already added ===== Sometimes you might have added the IP address but, it will not list in ifconfig. The reason is that the IP address is not binded properly. When you try to add the IP address from […]

Leave a comment

Steps to install PostgreSQL in cPanel server

PostgreSQL is a powerful object-relational database management system. Let’s see the steps to install PostgreSQL in cPanel server. cPanel & WHM works with PostgreSQL 7.3.x or later. Earlier versions will not work with cPanel & WHM. Steps to install PostgreSQL in cPanel server: Step 1: Login to the server via SSH as root. Step 2: […]

Leave a comment

Steps to change exim interface IP address

Are you talking about having exim send out emails on an IP address other than the main ip address of the server? If so, then edit /etc/mailips and add an entry: *: 11.22.33.44 Where 11.22.33.44 is the interface IP you want to use. Then enable the option WHM > Exim Configuration Editor > Send outgoing […]

Leave a comment