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.

Change hostname -> /etc/hosts - IP from what file?

Discussion in 'Bind / DNS / Nameserver Issues' started by jmginer, Apr 13, 2015.

  1. jmginer

    jmginer Well-Known Member

    Joined:
    Jul 26, 2006
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Benifato, Spain
    Hello, when I click in change hostname, it makes some changes in /etc/hosts files.

    It don't take the IP setted up in "Basic cPanel & WHM Setup"

    How this IP is obtained? Is stored in what file location?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Changing the server's hostname should not alter or modify any IP addresses in the /etc/hosts file. It only updates the existing hostname entry for the IP address already configured in that file.

    Thank you.
     
Loading...

Share This Page