I'm trying to set up a web server for my first time. I'm running Ubuntu 12.04.1 and i've installed LAMP. I have also set up a static IP for the server, 192.168.0.111 and reserved it in the router settings. So far so good.
Now to the problem. I forwarded port 80 to the servers IP address, but the server is not responding to any connections. If i try to access the public IP through a webbrowser when the port is NOT forwarded, i get an error saying "Could not connect to host". If i do forward the port i get a timeout error. Correct me if i'm wrong, but that should mean the port is being forwarded to the server, but what happens after that i don't know. Am i right? And any suggestions about how to troubleshoot this?
EDIT: I should also mention that Apache does in fact work and if i type in 127.0.0.1 in a browser, the page does indeed load. I just can't access it from the outside world.
/var/log/apache2/access and error logs.