Multiple Shared IP's on WHM/cPanel
By Mr.Seiko on Dec 1, 2015 | In Uncategorized
By default, WHM doesn't seem to allow multiple Shared IP's.
Having multiple shared IP's can be good for balancing domains across IP addresses on the server in the event of DDOS, the one affected IP can be Black-Holed, and the rest of the domains on the other shared IP's will be unaffected.
In /var/cpanel there is a file named mainips that specifies the main IP for the server.
This method makes a subfolder to process multiple Shared IP's.
mkdir /var/cpanel/mainips
cd /var/cpanel/mainips
vi root
In this file add each of the new IP's that you want to use for shared IP's.
In case of root as the name of the file, you could use the name of a reseller on the server to allow that Reseller multiple shared IP's
If the shared IP's don't show up right away for usage, you can rebuild the IP address pool in WHM, or run the command:
/scripts/rebuildippool
Making WHM behave the way that I want, one feature at a time!
No feedback yet
| « What is "TheCrimsonHorror" | PumpKitten Attempt 1 » |