Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: Haripriya H on January 11, 2014, 01:10:39 pm

Title: Multiple Shared IPs in WHM
Post by: Haripriya H on January 11, 2014, 01:10:39 pm
As we all know that there is no  direct option available in cPanel/WHM  to create multiple shared IP’s and assigning dedicated IP for each domain is not feasible as it will cost you a lot of money.

So, you need to create multiple shared IP’s to  distribute 1 IP  between  many domains and here is how you can achieve this with cPanel  servers ::

Create a directory called /var/cpanel/mainips/, if it doesn’t exist



Then, create a file  /var/cpanel/mainips/root and add the list of IP’s that you want to share

 
 10.10.10.1
 10.10.10.2
 10.10.10.3
 :wq!
 save and quit.
 

That’s all and you can see the status of new IPs as Main/shared IP for root from WHM>>Home>>IP Functions>>Show/Edit Reserved IPs.