One issue that we ran into dealing with cPanel installations was if the main interface of one of our servers happened to be configured as something other than “eth0″. Sometimes they will be configured as “eth1″. This can be an issue in cPanel because the default interface in cPanel is always set as “eth0″.
This causes issues when binding new IP addresses through the control panel and adding multiple IP addresses to the interface using cPanel’s ipaliases service.
To get around this, we will need to find one of cPanel’s configuration files. For this setting, we need to edit the “/etc/wwwacct.conf” file. Open this file in your favorite text editor and file the line:
ETHDEV eth0
This is pretty self explanatory, but we will need to change the “eth0″ to the name of our interface. So in my previous example I would set this to:
ETHDEV eth1
Save the file and you are all set. If you already added additional IPs through the control panel, you can run the following command to bind those IPs correctly:
/etc/init.d/ipaliases restart
This should get you up and running and on to getting your websites setup.
