I am interested in knowing the process of changing the hostname of your server using the hostname.
How to change the Hostname of the server with WHM?
Collapse
X
-
Yes, you can.
Follow the procedure to change the hostname permanently:
1. Type the hostnamectl command : sudo hostnamectl set-hostname newNameHere. Delete the old name and setup new name.
2. Next Edit the /etc/hosts file: sudo nano /etc/hosts.
3. Reboot the system to changes take effect: sudo reboot.
Comment
Comment