How to Change the Hostname of a WHM/cPanel Server ?

  • Login to WHM as the root user.
  • Navigate to Home / Networking Setup / Change Hostname.
  • Enter a new hostname for your web server in the Change Hostname field and click the Change button.
  • The system will resume the process to change the hostname, which may take a couple of minutes.
  • As you scroll down to the end, you get to read a message.
  • You will have to click the Add an A entry for your hostname button.
  • Here, you have to enter a new IP address for the “A Entry” for your hostname in the text box and click the Add Entry button.
  • The system will confirm if the IP address is unique and assign it to your hostname.
  • you will have successfully changed the hostname for your web server.

 

Was this article helpful?

Related Articles