biggsy

Member
Jan 20, 2011
17
0
51
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 

biggsy

Member
Jan 20, 2011
17
0
51
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.