Portal Home > Knowledgebase > VPS Hosting and Dedicated Servers > How to change the VPS or dedicated server hostname

How to change the VPS or dedicated server hostname

If you like to change the hostname of your Linux VPS server or dedicated server you need a root access and SSH and command:

hostname host.domain.com

In case you are using some control panel like Plesk or cPanel you can change the server hostname easily inside the hosting control panel admin area.

There are problems sometimes if you are using cPanel as hosting control panel, and it will stop working if you change the linux server hostname. In this case you will need to resync the cPanel license with cPanel.net license server.

The following command should be run inside SSH as root:


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.