title: How to serve html page or AMI test page in browser on new amazon ec2 server
body: <p>I got an Amazon ec2 server and when I go to the URL (Public DNS (IPv4)) in my browser I get "ERR_CONNECTION_TIMED_OUT"</p>
  
  <p>I did the tutorial "Installing a LAMP Web Server on Amazon Linux" <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html</a></p>
  
  <p>But got stuck on "If you are unable to see the Apache test page, check that the security group you are using contains a rule to allow HTTP (port 80) traffic." </p>
  
  <p>I checked the security groups and they both set to "All traffic
  All
  All
  sg-7496280c (default)"</p>
  
  <p>And I still can't see the test page. I've also tried using the public IP address and I get the same thing.</p>
  
  <p>There were no errors when installing packages.</p>
  
  <p>I am able to connect using winSCP and upload html files but it doesn't serve them.</p>
  
  <p>I don't know if I'm doing the right tutorial, or if I need to do other things first, or which tutorials apply to which types of servers or if ec2 and aws are the same thing or not etc.</p>
  
  <p>I tried contacting support but it said I don't get technical support for basic accounts. I tried posting this on Amazon forums but it said something like "you can't post new threads right now, try again later"</p>
  
  <p>I'm only doing any of this because you can't run node.js on hostgator.</p>