So, I'm running Apache on an internal server and I port forwarded, say port 10000 from outside to port 80 internally.
My router doesn't support loopback so I tried accessing it from outside my network. I went to
<external ip>:10000/wordpress and I can see the Wordpress login page just fine.
When I tested
<internal ip>:80 on my internal network, I can see the Apache's default "It works!" webpage. I can even browse around my /var/www/ folder if I give it the right path. But when I go to
<internal ip>:80/wordpress/, my browser automatically tries to redirect it to
<internal ip>:10000/wordpress and it fails.
Why is it mixing up the
<internal ip> with the
<external port> and how do I stop it from redirecting?
I should be able to go to
<internal ip>:80 from my internal network and not have it redirect.
Server OS: Ubuntu Server 10.10
Router: Trendnet 652BRP