Skip to main content

Hostname resets on reboot

Comments

7 comments

  • Anoop P Alias
    Please contact your webhost as OpenVZ config need to be changed on their end.
    0
  • nistor.andrei
    I already said that I own the dedicated server.
    0
  • cPanelMichael
    On the dedicated server vz configuration file the hostname is set correct.

    Hello, Could you let us know what method you used to update the hostname on the VPS hardware node? With OpenVZ, you'd generally need to use a command such as:
    vzctl set $VEID --hostname server.domain.tld --save
    Thank you.
    0
  • nistor.andrei
    Did that and still the same.
    0
  • cPanelMichael
    Hello, This suggests an issue with the virtualization software installed on the hardware node, however feel free to open a support ticket using the link in my signature if you'd like us to take a closer look and rule out any issues with the cPanel & WHM software. Thank you.
    0
  • nistor.andrei
    After a lot of searching and reading I think I found a solution for my problem. I set the HOSTNAME attribute in /etc/sysconfig/network-scripts/venet0 on the hardware node to the FQDN that I needed ( there were no HOSTNAME set in the configuration file ).
    0
  • cPanelMichael
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.