05-25-2012 11:08 PM - edited 03-04-2019 04:28 PM
i have a server with a private ip of 192.168.0.2, and NAT http port 80 to 192.168.0.2 so the outside world can access the web...
but my computer on the same lan as the server cannot use the domain name or public ip to access the web...i must use the http://192.168.0.2 to access. how to configure cisco 857 so i can use http://mydomain to access?? thanks!!!!!
Solved! Go to Solution.
05-26-2012 05:35 AM
From internal network, you would need to use the private IP as the public IP is a virtual IP and NATing only happens when traffic actually traverse the LAN and the WAN/Internet interface. If you are from the LAN network, you would not traverse through the WAN/Internet interface hence it's not working when you are connecting to its public IP.
I would suggest that you resolve the domain name to private IP if you have an internal dns server when you are connected to your internal network.
05-26-2012 05:35 AM
From internal network, you would need to use the private IP as the public IP is a virtual IP and NATing only happens when traffic actually traverse the LAN and the WAN/Internet interface. If you are from the LAN network, you would not traverse through the WAN/Internet interface hence it's not working when you are connecting to its public IP.
I would suggest that you resolve the domain name to private IP if you have an internal dns server when you are connected to your internal network.
05-26-2012 09:01 PM
i had though that before,, but then every time i add the host record, i need to add in two places.... and if i update sub domain pointed to somewhere else, i need to update in two places too... isn't there a better way to accomplish this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide