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

I have an old computer running Ubuntu 10.04. I installed a LAMP server on it and it works fine; however, the computer is connected to the internet through a large network connected to one modem. I have the ip address of the computer/server for our network, and it works fine, but I need this server to be accessible from the internet, anywhere. I have the ip address of the modem, but using it returns a "server not found" error. Any help would be greatly appreciated.

share|improve this question

migrated from stackoverflow.com Aug 30 '10 at 0:28

This question came from our site for professional and enthusiast programmers.

3 Answers 3

up vote 1 down vote accepted

Your "wireless apple time machine" is probably a router. I think you're referring to a time capsule. The good news it has a very nice NAT interface, just download the apple configuration utility. These instructions look pretty good:

share|improve this answer
    
Great! Thanks so much! –  mndoftea Aug 29 '10 at 21:42

You need to setup a NAT or port forwarding to redirect a port on the modem to point to your server.

share|improve this answer
    
Any idea how to do that? I can't seem to interface with the modem. –  mndoftea Aug 29 '10 at 21:30
    
@mndoftea - It all depends on what router you are using. Port forwarding is done on the router (not the modem). You will have to look at the user manual for whatever router you have. –  Mitch Dempsey Aug 29 '10 at 21:45

Your router's firewall is probably blocking the traffic. You need to either tell your router to put the server in its DMZ (so it will receive all traffic) or tell it to forward a particular port (such as 80 for http) to the server's internal IP address.

share|improve this answer
    
The trick is that I don't have a router (at least not one that I can control). I have a cable modem I received from my ISP (which doesn't have any firewall as far as I can tell), connected directly to a wireless apple time machine. –  mndoftea Aug 29 '10 at 21:29

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.