Unable to change hostname
Hi all,
i am trying to change the server hostname since it changed with a whm update for no reason. I set it in whm/networking setup/ gostname and the log says it is changed succesfully but when i go to hostname again it is the previous cprapid hostname. Also the /etc/hostname file has the correct hostname.
What can i do?
-
How about WHM => Change Hostname? 0 -
How about WHM => Change Hostname?
There is says changed succesfully but when i go to again it shoes the old hostname. Also i host my dns in cloudflare and i have whm dns off.0 -
Have tried the command line? CentOS 7 Set the hostname # hostnamectl set-hostname your-new-hostname To verify # hostnamectl status
CentOS 6Set the hostname # hostname your-new-hostname # service network restart To verify # hostname0 -
Let us know if the above actions don't help the situation. 0 -
Hi YOu can change your server host name by logging into WHM and in Basic configuration or from terminal via commang line hostname and enter the hostname you want to set REgards 0
Please sign in to leave a comment.
Comments
5 comments