whm on a xenserver behind NAT

samuel wang

Registered
Mar 25, 2015
3
0
1
singapore
cPanel Access Level
Root Administrator
Hello all,

I installed whm on a xenserver virtual machine few weeks ago,then I restore the accounts from the existing whm server which is on a public server.the new one just fir backup in case the existsing server crash(if that i only change the domain on whois and nameserver is ok).
What should i do?
the new server local ip is 10.4.xxx.xxx and public ip is 103.28.xxx.xxx
the old server ip is 203.73.xxx.xxx
I really dont know how nat ,I try to visit https://103.28.xxx.xxx:2087 but cant,should I map the 10.4.xxx.xxx port to 103.28.xxx.xxx? and what about the domain on the account? also need map?must map the public ip port 80 or not and which port i need to map?
The nameserver on the new server point to 10.4.xxx.xxx and add a entry use 103.28.xxx.xxx right?
If this i dont know think the system need map 10.4.xxx.xxx to 103.28.xxx.xxx automatically .we can nat it on route.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Please ensure you review the following document if you are using a NAT environment:

1:1 NAT

It explains how to map local IP addresses to public IP addresses.

Thank you.
 
  • Like
Reactions: Patrick Heinz

samuel wang

Registered
Mar 25, 2015
3
0
1
singapore
cPanel Access Level
Root Administrator
Thank you for reply. I have read it.some of the route port have been used(for example 80 and 8080). I not sure wether it will affect my other applicaton,so I didn't run the last command /scripts/build_cpnat --man.
 

samuel wang

Registered
Mar 25, 2015
3
0
1
singapore
cPanel Access Level
Root Administrator
It said that if the installer detects a NAT-configured network, your server will configure itself for NAT mode and attempt to automatically map local IP addresses to public IP addresses.I remebered i didn't detected,but it also auto map it. and dose it mean I no need to do anything?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
It said that if the installer detects a NAT-configured network, your server will configure itself for NAT mode and attempt to automatically map local IP addresses to public IP addresses.I remebered i didn't detected,but it also auto map it. and dose it mean I no need to do anything?
Hello,

Could you clarify if your websites are operating as expected or if they are failing to load properly?

Thank you.