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.

i just installed the latest version of ubuntu server, php, apache, shorewall and mysql.

the problem is that i cant access the website from other computers. i read that to fix that i need to change the DMZ or Port Forwarding. Im not sure how to do that. which document to change or what.

Also the problem is that i live on an apartment complex that the internet is included. i just plug the ethernet cable to the wall and i register on a time warner "HiSpeedUp" page and then i get the internet working. so i dont know how to check the router information or anything.

share|improve this question

migrated from serverfault.com Nov 6 '09 at 7:41

This question came from our site for professional system and network administrators.

add comment

4 Answers

Unless your apartment building is giving public IPs to its residents(unlikely), you will not have access to forward ports to your linux computer.

share|improve this answer
add comment

Check with the apartment manager. It may violate the TOS to run a public webserver on that connection. If not, he may be willing to forward a port to your IP address.

share|improve this answer
add comment

Usually, a home network consists of an internal computer(s) connected to a router or gateway, which connects to the ISP, then the world. In a logical sense, once you get outside the router or gateway, you're visible to the world. So, you would need to access the router or gateway and forward ports from your specific machine's internal IP address to the world. There's really 3 steps that makes this an efficient setup:

  1. An internal reserved or static IP so the forward rule always works.
  2. A rule to forward the ports you need through the router to the world. If you're running a web server, then just 80 would suffice.
  3. A dns name pointing to your machine. Since your public IP address (the one your ISP provides you) is likely not static, you need a way to update your DNS name if your IP address changes. DynDNS is the easiest way to do this.

In your specific setup, it sounds like you don't have access to your router or gateway, so it likely won't work. I second the "get external hosting" option.

share|improve this answer
add comment

I doubt this is going to be something you'll end up making happen. Aside from the obvious (your landlord will need to work with you to get this working.. not likely). In the event you prove me wrong, however, please post back here. :) Always love a good success story. :P

If you're interested in working with a relatively blank, publicly accessible linux box, I'd recommend you try a host like Slicehost. $20 / mo will get you a decent server to muck around with, and you will have full control over what is and is not installed (it's a blank box). Not to mention, by outsourcing the hardware / connection, you rid yourself of any number of headaches that would otherwise be unavoidable.

share|improve this answer
add comment

Your Answer

 
discard

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