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!

After Change IP Address Server domlogs/IP Not found

Discussion in 'General Discussion' started by fared, Apr 17, 2017.

  1. fared

    fared Registered

    Joined:
    Apr 17, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I changed the IP address of the server using WHM
    And modify this files

    /etc/sysconfig/network-scripts/ifcfg-eth2
    /etc/hosts
    /etc/ips.dnsmaster
    /etc/userdatadomains.stor
    /etc/ssldomains
    /root/anaconda-ks.cfg

    But I still the old address in /usr/local/apache/domlogs/IPADDRESS log

    I am just unsure has been changed the IP address correctly?
    How to create a new log (IPaddress, IPaddress-bytes_log) in directory /usr/local/apache/domlogs/ ?

    Operating System CentOS 5.11, Linux Apache

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,423
    Likes Received:
    1,956
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can check to see if you notice any output when running the following command:

    Code:
    grep OLDIP /usr/local/apache/conf/httpd.conf
    Also, is new data populated in that log file, or does the file simply exist with old log data from before the switch?

    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