cPanel server behind Cisco hardware firewall

atplhr

Registered
Aug 9, 2011
1
0
51
Hi,
We have a hardware firewall and behind it, there is a dedicated server with Cpanel/WHM. In firewall two external IP addresses ( say x.y.z.1 and x.y.z.2 ) are NATted to 2 internal ( say a.b.c.1 and a.b.c.2) IP addresses. The server was assigned with internal IPs a.b.c.1 and a.b.c.2 .

Now, we tested and found out that a website hosted on this server is working when :
- all A record entries in zone file pointing to x.y.z.1 or x.y.z.2 .
and
- virtual host in apache having IP address of a.b.c.1 or a.b.c.2

Now, in Cpanel/whm , under Basic Config, there is a field called "The IP address (only one address) that will be used for setting up shared IP virtual hosts." When I put x.y.z.1, zone entries and apache namevirtrualhosts are created with x.y.z.1. Similarly, when we use, a.b.c.1 , please all zone and apache entries are created with a.b.c.1.

Is there any configuration/settings we would need to do in WHM/Cpanel in order to have zone entried created with x.y.z.1 and apache entries with a.b.c.1 ?
 

Infopro

Well-Known Member
May 20, 2003
17,113
513
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter