Today we learn how we can change hostname from WHM. this will help you to change server's hostname from browser you will not need to login server from ssh and no need to run commands on shell or terminal
Step 1: First of all login into WHM with root details; then go to search box and search for "change hostname" then you will see same as bellow snapshot.
Step 2: Click on "change hostname" tab then a new page will open go to then end of the page then you will see following:
Step 3: Enter hostname as server.domainname or mail.domaionname and click on change button
That's it hostname is changed now.