Hello ,
My sever Detail : Centos / Cpanel
i have entered my Hostname in WHM but host name has not been updated ( i have checked in some lookup websites )
Please let me know how to set the hostname using SSH
Thank You
Hello ,
My sever Detail : Centos / Cpanel
i have entered my Hostname in WHM but host name has not been updated ( i have checked in some lookup websites )
Please let me know how to set the hostname using SSH
Thank You
Hello,
In order to change your hostname and not run into issues you will need to follow these steps:
(from CLI)
hostname HOSTNAME
modify /etc/hosts
run /usr/local/cpanel/cpkeyclt
That should get it updated without any issues. Please let me know if you have any questions.
Kenneth
Product Manager
cPanel, Inc.