We are aware of a potentially service impacting issue. Learn more
Choose Theme Options

Predefined Color Skins

How to use the Change Hostname feature in WHM Print

  • 0

Introduction

 

Having a recognizable hostname for your server can make your life easier when managing a lot of clients and websites. It should be something related to either your business or your domain name so that people can use it to connect their domains and utilize all of the offered services, such as FTP, Email, SSH, etc. In this tutorial, we are going to review the procedure of changing the hostname of your server, using the WHM control panel.

 

Accessing the Change Hostname feature

 

Step1: Login into WHM.

 

Step2: Search for "Change Hostname" in search bar.

 

When you click on the first result presented by the WHM, you will be immediately redirected to the “Change Hostname” page where you will notice quite a few things. The first section contains rudimentary instructions explaining how you should structure the hostname. As mentioned at the beginning of the guide, the hostname should be something recognizable and socially acceptable as it will be appearing in email headers. It should also derive from your domain name or business. It also needs to have at least two dots in it, should not begin with “www” or a digit, and should never end with “-”. 

 

Underneath this section, you will be given ten randomly generated hostnames which you can use for the server. On the left side, you will find two additional sections. The first one explains that during the change of a hostname with a certain Cloud Provider there could be an issue with fetching the WHM or cPanel licenses. You should not worry about this with us, as we have already made the necessary arrangements to prevent this from happening. 

 

Step3: Lastly, we have the actual section “Change Hostname”. In order to proceed, simply write down your hostname in the text field under the text “New Hostname:” and then press the “Change” button to proceed.

 

For testing purposes, We will change the current hostname to “tutorials.armadaservers.com” so we can explain the next screens to come. When the “Change” button is clicked, a loading bar will appear that could take up to a minute. After this loading screen, you will see a big changelog.

 

The rest of the output gives information about what files were changed on the filesystem in order for the change to be applied on the server and all the service restarts that occurred - more specifically - cphulkd, exim, mysqld.

 

When you scroll down to the bottom of the page, you will find a button called “Add an A entry for your hostname”. Press this in order to proceed to the last step before the process is finalized.

 

The last screen will contain information regarding the change itself. There will be a table section on the top of the page which will contain the “Hostname” and the “Server Main IP” and bellow you will see a text saying “Please confirm the IP address to use for the "A Entry" for example.abcdomain.com” along with a field under it that has the server’s IP address inputted. Please click on the “Add Entry” button to finish the process.


Was this answer helpful?

« Back