Hi Guys,
Ok - so here's the problem. I am running my Cpanel on a VM which has the local host-only IP address of 172.16.32.XXX which I use Iptables/NAT on the host to forward it's own IP (87.XX.XX.XX) through to it.
Everything works (i.e email, etc) however I have to manually edit the httpd.conf file to change the VirtualHost IP address for each domain to 172.16.32.XXX instead of the external one otherwise the sites will simply be forwarded to the apache/cpanel welcome page.
If I change the IP address on Cpanel for the sites to the 172.XXX.XXX.XXX address then that in turn automatically affects the DNS records which of course doesn't work.
Can anyone please help??
David



LinkBack URL
About LinkBacks
Reply With Quote




