The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hostname and VPS issues

Discussion in 'General Discussion' started by speckados, May 28, 2010.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    There are too many links and too much literature on the problem affecting Cpanel and RPM Based distros.

    The problem is simple, and complex. Each restart a VPS with OpenVZ technology (Proxmox, Virtuozzo, etc) the hostname of the VPS is reduced to what it is, hostname, and hostname not FQDN.

    This planet problem with the license, correctly configured mail servers, etc.

    That trick used to avoid the problem?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Hostname of a VPS has to be set from the host server and not within the VPS. If the hostname is set from within the VPS, it will reset back to what it was after a VPS reboot.

    If you have access to the host server on which the VPS is residing, you can set the hostname using the vzctl command

    replace, your.hostname.here with the hostname you wish to have.

    If you don't have access to the host server, contact your hosting provider.
     
Loading...

Share This Page