banosr

Registered
Nov 11, 2009
3
0
51
I configured everything but everyday I get an email stating a dns problem that:

The hostname xxxx.xxxx.xxxx resolves to (public ip address). it should resolve to (private ip address).

I have the server behind a router that forwards the public ip to the private ip.


I will appreciate any help you may give me
 

banosr

Registered
Nov 11, 2009
3
0
51
main IP was the problem

In basic cPanel/WHM Setup I changed the main Ethernet device from eth0 to eth0:1 to let the main IP be the public IP address instead of the private IP address and then then set the A record to public IP and it is working great.

I hope it helps someone else