Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I type the external IP address (obtained from whatsmyipaddress) while on the same network as the server, I get a "Page not found" error. I have to use the local IP address (192.168...) to load it correctly. I can also load it with the external IP if I'm not on the local network.

How can I fix this so that the external IP address will go to the server as well?

share|improve this question

1 Answer 1

Your router would need to support it, some do, some don't.

Most DNAT (port forwarding) home-office routers only forward connections coming in from the outside to the external IP/port to the internal server, connections from the internal network are ignored.

You may be able to do some "routing magic" (technical term) on your local PC to do a NAT routing to the local server IP for connections to the external server IP, something in the OUTPUT table with iptables (if you're running Linux).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.