How to change your cPanel username for VPS/Dedicated accounts Updated on August 16, 2021 by Scott Mitchell 1 Minutes, 6 Seconds to Read 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 Log into your WHM Locate Modify Account in the left hand sidebar and click on that option. 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. 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. 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. Share this Article Related Articles How to Configure cPanel in WHM Resetting the cPanel Password in WHM How to Import Email Accounts and Forwarders into cPanel How to Install WHMCS With Softaculous What is your default PHP.ini file? How to Create / Delete an FTP Account in cPanel How to Park a Domain in cPanel How to Permanently Delete Trash in File Manager The Complete Guide to cPanel Backups How to Delete a cPanel in WHM
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.
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.
This is just the standard naming convention for our accounts. When you create accounts in WHM, you can use custom usernames.