Adding Secondary IPs to cPanel via SSH

When adding IPs through an SSH console: 

1.    Edit the file “/etc/ips” 

2.    Add your new IPs to the end of the file like so: 

x.x.x.x:255.255.255.0 (Using the 255.0 netmask will allow you to mark the entire subnet as usable) 


3.    Restart Ipaliases with command “/etc/init.d/ipaliases restart”

Was this answer helpful? 0 Users Found This Useful (0 Votes)