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!

Change of IP address

Discussion in 'Bind/DNS/Nameserver' 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:
    44,378
    Likes Received:
    1,857
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    44,378
    Likes Received:
    1,857
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice