Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

Adding IP’s manually in a Cpanel server

Views: 21
Votes: 0
So you want to add IP addresses via root. Please follow the steps indicated below for adding  the extra IP’s.
 
  • Please run the following command: mv /etc/ips /etc/ips.old
The above command will move the IP addresses to an IP backup file that you can revert back to in case you get stuck or need to in the future.
 
Next, please create a new one (vi /etc/ips) and populate it with one line for each IP address in the form of:
 
                        111.111.111.111:255.255.255.255:111.111.111.111
 
For example, if you were to add one IP (63.66.132.10) it would look something like this:
 
                        63.66.132.10:255.255.255.0:63.66.132.10
 
If you know your range you can add:
 
                        63.66.132.10-18
 
The format for the above IP addition should be like: IP_Numer:Subnet_Mask:IP_Number
 
Once you have completed this, you can run the command: Service Network Restart
 
Then you should see the IP’s that you have added within your control panel.
Others in this Category
document ARIN Justification
document How do I edit php.ini?
document How to Install IonCube
document How to Install Zend Optimizer
document I can't login to my web mail
document Can I install roundcube as a webmail client?
document How do I downgrade my PHP to PHP4?
document How do I enable Exim on a different port?
document How do I recompile apache in WHM?



RSS