How to change your cPanel username for VPS/Dedicated accounts

A fairly common request we see is how to change the cPanel username for an account. This is not allowed on a shared server and requires root access even on the VPS and Dedicated accounts. The instructions below demonstrate how to change the cPanel username of an account within the Web Host manager (WHM).

Changing the cPanel username in WHM

  1. Log into your WHM
  2. Locate Modify Account in the left hand sidebar and click on that option.
  3. Select account to work with

    This leads you to the list of accounts on the server. Locate the account you want to work with. Click it to highlight it and then click on the Modify button.

  4. Edit the Username field

    You will now see a list of attributes you can change. Located at the top of the page is the Username field. Erase the current username and enter your new one there.

  5. View new username in list

    Once you have changed the cPanel username, click on the Save button. You should get a success message indicating that the name has been changed. The image below displays a new cPanel username as it will appear in the account list.

Once the cPanel username is changed, you can use it to log into the cPanel. Be aware that you may need to alter the code for any program that uses thecPanel username to connect to the site or server.

5 thoughts on “How to change your cPanel username for VPS/Dedicated accounts

  1. Was this article helpful? Sort of. It fails to mention, if you have an existing website with any MySQL connections, they will definitely break. Since that is a common occurrence, (web search), it would be nice if you included a step-by-step video, which addresses how to fix the MySql changes after the username change, instead of the “Be aware that you may need to alter the code for any program that uses thecPanel username to connect to the site or server.” line. Thanks.

    1. Hello Scotg – thanks for your comment. We have taken note of the issue and have a mote of the needed change. The article will be updated with this information in the near future. Thanks again for your comment and recommendation.

    1. This is just the standard naming convention for our accounts. When you create accounts in WHM, you can use custom usernames.

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+