To solve this problem,you need to reset the cPanel password as follows:
- Login to WHM at https:// <your vps ip>:2087 as user root, using the server’s root password.
- Go to Home >> Account Information >> List Accounts.
- Click on the “+” sign near the domain for which you want to change the cPanel password. You can find an option over there to change the password.
- Select the option “Sync MySQL password with account password” and change password.
If the server’s hostname resolves to the same IP, it can be used in place of the IP.