Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is my first time to use Amazon EC2 linux micro instance with OS Ubuntu 12.04

[inside the box]

I noticed it did not have Apache installed by default, so I did sudo apt-get install apache2. After installation there is the /var/www directory, and I verified the Apache 2 daemon is running

When I did curl http://localhost:80 it successfully returned content in /var/www/index.html.

[outside the box]

When I type the public DNS name into browser, it gets a page not found error. How can I get the web page to load when the DNS name is entered instead?

share|improve this question
3  
Did you open port 80 on the AWS firewall? – Tanner Faulkner Jan 9 '13 at 22:52
    
great, it works!! thx a lot – Matthew Yang Jan 10 '13 at 2:40

You must log in to answer this question.

Browse other questions tagged .