I would like to setup a personal home server, I bought a mac mini and I installed Ubuntu server on a Virtualbox machine using bridge adapter. All is fine, I can type the ip of the VM in any browser of any pc in my home network and I can see a welcome page served by Apache ("it works!"). So far so good... but now I want to be able to expose my web server to the outside world! I've got a Linksys wag320n router and I configured it to forward http request on port 80 to the ip of the virtual machine. The problem is that if I type my public ip (that one my router assign to me in order to access the internet) in the browser, I see the router login prompt for remote administration. This is very strange since remote login is disabled! (and furthermore it would listen to port 8080 not 80). I read that some routers may not be able to port-forwarding if you access from inside the home network, but that's not the problem, since I've tried using my iPhone (using my phone carrier under 3G) and now I tried from my office too (which is in another country... so I'm pretty sure that I'm outside my home network! ^_^). What should I do to reach my goal and solve my problem?
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
I assume that you forwarding external port 8080 to port 80 on a local virtualbox. Did you specify port 8080 in the webbrowser by ip-address:8080? It seems you just used port 80 which already belongs to the router itself.