Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as off topic by Dan, splattne Jan 11 '13 at 10:43

Questions on Server Fault are expected to relate to 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 don't understand the downvotes... can someone explain me what I did wrong? :( –  daveoncode Jan 11 '13 at 13:40
1  
Your question is off topic for Server Fault as it deals with home servers and home networking. It would do much better at our sister site Super User. Though you may wish to search the site first, as this is probably a very common question. –  Michael Hampton Jan 11 '13 at 17:36

1 Answer 1

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.

share|improve this answer
    
No, I didn't specified the port, I just typed the ip. I forwarded port 80 to the ip of the VM. Is it mandatory to specify a port different from 80 in order to make my pc accessible from internet? (I'm a newbie when it comes to networking... so, please be gentle in evaluating my questions ;)) –  daveoncode Jan 11 '13 at 13:46

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