Installing cPanel and WHM with Multiple Network Interfaces - Google Cloud

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
Hey hey! I messed around with this a while back and wasn't able to get multiple addresses working well. I don't remember if I tried completely separate interfaces in their system or not, but it was *not* an easy to task to do any type of custom networking inside the Google system.
 

incapio

Registered
Nov 20, 2021
3
2
3
India
cPanel Access Level
Root Administrator
I have succeeded somehow. But facing issues while accessing the domain. Here is my configuration.
Step - 1: Created Multiple VPC networks in the same Region. For instance, cpanel-vpc-one and cpanel-vpc-two, according to RFC.
Step - 2: Assigned Static Internal IPs, Firewall rules, and External IPs in both VPC networks. For instance, One IP for WHM and the remaining IP for the dedicated domain.
Step - 3: Installed cPanel in CentOS 7
Step - 4 Created an Account for the domain. For instance, example.com
Step - 5: Reserved the IP for the domain.
Step - 6: Changed the IPs of the domain using the List accounts interface.
 
  • Like
Reactions: cPRex