Adding secondary IPs to Cpanel

 


  1. To access the IP Functions Menu, click on IP Functions, on the main screen of your WebHost Manager interface.
  2. Click on Add a New IP Address.
  3. Enter the IP address in the IP(s) to add field.
  4. Alter the subnet mask default values for this IP address in the Subnet Mask field, if required.
  5. Click on Do it.


 

When adding IPs through an SSH console:


1. Edit the file /etc/ips     

#vi /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        

 #/etc/init.d/ipaliases restart 


 


 

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Suspended page / Internal Server Error

If domain is showing "Internal Server Error" except suspention page after suspending the domain...

CPanel Log file locations

CPanel stores it’s log files in the /usr/local/cpanel/logs directory. Below is a list of the...

How do convert a dedicated ip to a shared ip on cPanel/WHM

In root SSH, copy the /etc/domainips file and then remove the IP from it: Code: cp...

Install RKHunter

You can install RKHunter on Linux Server by using following steps.1 Login to your server as...

How to disable directory browsing using .htaccess – Apache Web Server

Apache web server allow directory browsing by default. It’s always good to disable directory...