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.

IP Allocation in WHM

Discussion in 'General Discussion' started by biggsy, Nov 17, 2011.

  1. biggsy

    biggsy Member

    Joined:
    Jan 20, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi there, I had to do a restore of my server today and seems ok bu the only problem is I dont know which IP's were assigned to which domain. I have a complete backup on R1soft but does anyone know which file or where to look to find which which IP's were allocated to which domain?

    Thanks

    Andy
     
  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 :)

    The following file will contain a list of domain names that are assigned a dedicated IP address, along with the IP address assigned:

    /etc/domainips

    You could also use a command such as this:

    Code:
    grep IP /var/cpanel/users/*
    Thank you.
     
  3. biggsy

    biggsy Member

    Joined:
    Jan 20, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi, thanks for that - it worked great!

    Can you also tell me how to find out which libraries, e.g. zend optimiser, PECL etc were installed so I can get the hosting company to install them?

    Thanks

    Andy
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    If you only have access to the restored files, try checking the last successful EasyApache build profile to get an idea of which modules were enabled. The full path to this file is:

    Code:
    /var/cpanel/easy/apache/profile/_last_success.yaml
    However, it may vary depending on where your restored files are located. The following document contains more information on using build profiles with EasyApache:

    Distributing EA3 Build Profiles

    Thank you.
     
Loading...

Share This Page