I have set up Apache on Ubuntu 12.04 inside of an AWS VPC. The Apache server is in a private subnet accessible through a NAT. I am able to access Apache on port 80 as expected from the server itself (even using the IP Address rather than 127.0.0.1). When I try and access the server from a remote server (NAT in this case) I get a 404 error from Apache. This does not appear to be a networking issue. I am able to connect to the Apache server on 80 using telnet. I am using wget to test if I can retrieve a document from the Apache server (also gets a 404).
Apache is configured to "Listen 80" and the virtual host is also "*:80". Does anyone have any ideas what might be limiting access from remote hosts?
Thanks.
Edit: I spun up another Ubuntu 12.04 instance (same AMI) in the same subnet, installed Apache and everything seems to be working as expected, meaning I can access index.html from localhost, from a remote host in the same subnet, and from the NAT instance. Both of these were stock Apache installs using "sudo apt-get install apache2". I'm trying to detect any differences now. BTW, no iptables running on either instance.
telnet
from a remote host to see if port 80 is open?