Hey everyone. I need to change my hostname from
mydomain.com to hostname.mydomain.com
I use the "Change hostname" option in WHM and it says its changed but after reboot it reverts to the old hostname.
I was reading on here that you have to manually change the hostname. So I edited these files and saved them
/etc/resolv.conf
/etc/hosts
/etc/sysconfig/network
I manually saved the "network" file with the new hostname and verified it. However after REBOOT it changed the file back to its original state with the old hostname. Im banging my head against a wall. Anyone know what Im missing or failing to do?
Thanks
Shawn
mydomain.com to hostname.mydomain.com
I use the "Change hostname" option in WHM and it says its changed but after reboot it reverts to the old hostname.
I was reading on here that you have to manually change the hostname. So I edited these files and saved them
/etc/resolv.conf
/etc/hosts
/etc/sysconfig/network
I manually saved the "network" file with the new hostname and verified it. However after REBOOT it changed the file back to its original state with the old hostname. Im banging my head against a wall. Anyone know what Im missing or failing to do?
Thanks
Shawn
Last edited: