Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 of IP address

Discussion in 'Bind / DNS / Nameserver Issues' started by ScopeHosts, Sep 19, 2017.

  1. ScopeHosts

    ScopeHosts Registered

    Joined:
    Aug 17, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi All,

    I just need to know which all cpanel files get updated when a Main IP address of cpanel server is changed.

    And are these files been constantly updated by cpanel ?

    Different cpanel files get updated when compared to centos 6 and 7 64bit ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The main shared IP address as configured in "WHM >> Basic WebHost Manager Setup" is stored in the following file:

    /etc/wwwacct.conf

    The entries for the IP addresses are as follows:

    ADDR — Your server's shared IPv4 address.
    ADDR6 — Your server's shared IPv6 address.

    Note this is the IP address that's used by default when setting up new accounts. It doesn't alter the IP addresses assigned to existing accounts. You may find this document helpful:

    Installation Guide - Customize Your Installation - Version 66 Documentation - cPanel Documentation

    Thank you.
     
  3. ScopeHosts

    ScopeHosts Registered

    Joined:
    Aug 17, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Thank you michael for detailed explanation on my query.

    Can you tell me how often this file : /etc/wwwacct.conf is updated or changed.

    And should be refresh ipaddress pool when a new main IP address is assigned to the server or vps.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The existing values in that file are only changed if you make manually changes using "WHM >> Basic WebHost Manager Setup".

    Thank you.
     
Loading...

Share This Page