cPanel/WHM showing wrong IP address

After the migration the most common problem is incorrect ip in the WHM >> List accounts section because its showing the old server ip address, to resolve the issue refer the following steps.

1st) Login in the server as a root user and make sure that correct ip is define in the following file.

/var/cpanel/mainip

2nd) Run the following command to update the user cache with the new ip address, so it will show the correct ip in the WHM/cPanel.

/usr/local/cpanel/scripts/update_db_cache

About Anant 384 Articles
Senior technical writer