Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
Changing Hostname are not updated, I confirmed that Changing hostname reboot reverts back to Old. Doing the Graceful Server Reboot then still are set to old. Please let me know to fix.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello,

Is this a VPS? If so, what type? In some cases, administrators must contact their VPS hosting provider to request help with changing the hostname associated with the VPS at the hardware node level.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
OpenVZ , VPS hosting provider are fixed this issue but I will reboot my VPS to see if effects working.
Feel free to let us know if you encounter any additional issues with the hostname.

Thanks!
 

SysSachin

Well-Known Member
Aug 23, 2015
604
48
28
India
cPanel Access Level
Root Administrator
Twitter
Hello,

May I know which method you are using to change hostname ?

Also, please try to change hosting using below command.

Login to server through SSH and run :
Code:
hostname your.hostname
( replace your original hostname which is you want to set )


Make sure hostname changed or not in the hosts file
Code:
cat /etc/hosts
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
I still have the same issue.
You mentioned your hosting provider addressed the issue in the past. Could you consult with your hosting provider again to see what they changed, and if the setting they changed has reverted?

Thank you.
 

Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
You mentioned your hosting provider addressed the issue in the past. Could you consult with your hosting provider again to see what they changed, and if the setting they changed has reverted?

Thank you.
Does not fixed, its doing the same after Graceful Server Reboot. Eexamples: Current Hostname "ra.mysite.com" changed to "ra" after Graceful Server Reboot.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.