Welcome to Centmin Mod Community
Register Now

Install /etc/sysconfig/network - reverting hostname

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Mar 2, 2018.

  1. pamamolf

    pamamolf Well-Known Member

    3,119
    295
    83
    May 31, 2014
    Ratings:
    +531
    Local Time:
    12:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.13.x
    • PHP Version Installed: 7.1.x
    • MariaDB MySQL Version Installed: 10.1.x
    • When was last time updated Centmin Mod code base ? : just now

    Hello :)

    I just try to install on a vps latest Centminmod and set the hostname using:
    and asfter reboot i found a related entry at:
    But i can't save it as HOSTNAME="server.demo-domain.tech" :(

    It always revert to main domain :(

    I am trying to set to:
    and after reboot i am getting:
    :(

    That is causing also issues with adding the domain from Centminmod as it is conflicting with the hostname :(

    It looks like a network manager issue and DHCP apply changes but don't know how to disable it or to fix in general :(
     
    Last edited: Mar 2, 2018
  2. pamamolf

    pamamolf Well-Known Member

    3,119
    295
    83
    May 31, 2014
    Ratings:
    +531
    Local Time:
    12:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Or not?

    As if i use:
    i am getting:
     
  3. eva2000

    eva2000 Administrator Staff Member

    37,305
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    8:20 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Getting Started Guide step 1 outlines how to properly set hostname for server in CentOS 7. If that doesn't work then yes your web host's control panel i.e. solusvm might be the problem as some folks report the solusvm forces a particular value i.e. value when you ordered the vps and specified hostname at order time.
     
  4. pamamolf

    pamamolf Well-Known Member

    3,119
    295
    83
    May 31, 2014
    Ratings:
    +531
    Local Time:
    12:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    I think they use Virtuozzo panel :)

    Ok i will check again....
     
..