By default, WHM/cPanel allows only one shared IP while the rest are exclusive and can be used for only one domain. We cannot add "Multiple shared IPs" in WHM GUI, However, there is a way to have multiple shared IPs so that you could have spread out domains across all of those IPs. It’s possible to do so via SSH .
- Login to the server as root:
#cd /var/cpanel/mainips
- Create a /var/cpanel/mainips/ directory, if it doesn’t exist:
# mkdir -p /var/cpanel/mainips/
- Add the current main shared IP and the secondary IP(s)
#vi /var/cpanel/mainips/root
#cat /var/cpanel/mainips/root
11.22.33.44
44.33.22.11
We can verify this from WHM>>Home>>IP Functions>>Show/Edit Reserved IPs, we can see the status of new IPs as '
Main/shared IP for root'.
--