I have a model B (256MB) running the latest official release of the rasbian distribution (2013-05-25) and am trying to set up an apache2 web server on it. I installed apache2 by running the following on a fresh raspbian install:
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
At this point I can see the default "It works!" page if I point my laptop to my pi's IP address. The problem I am having is accessing it from outside my home network. Since my IP from my ISP is dynamic, I signed up for a free account from no-ip.com and have verified that is has my correct IP address. I then opened up port 80 TCP on my router and routed it to my pi's IP address. But when I use my no-ip address on my phone (not connected to wifi, but using my mobile data) I do not see the apache "It works!" page, instead I get a HTTP Error 503 (Service Unavailable).
I have also opened port 22 TCP&UDP on my router so that I can ssh in to my pi from outside my home network. When I use my phone to ssh in to my pi using my no-ip address it connects successfully and I can run commands normally on my pi, so this implies that my no-ip account and port forwarding is working correctly and makes me think there is something that I am missing in my apache configuration?
Does anyone have any ideas what might be wrong?