habiballahafg

Member
Oct 19, 2013
9
0
1
cPanel Access Level
Website Owner
Hi
I hope you are having a great day or night right now!
I have made change in my hostname (it was server1.domain.co) and I changed it to my server IP address and I cannot access to any options in cpanel and therefor I cannot change hostname to old hostname.
What should I do?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

You can access your server via SSH and update the hostname via a command such as:

Code:
hostname server.domain.com
Remember to update it via WHM when you regain access. Note that you should also be able to access WHM directly with a URL such as:

Code:
https://$IP:2087
Thank you.