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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page