title: How to create a target page at EC2 instance for Load balancer's health check
body: <p>I set up load balancer for my EC2 instances.</p>
  
  <p>All the security groups set up between load balancer and instances look fine.</p>
  
  <p>The current problem is that instances status in load balancer are <code>OutofService</code>.</p>
  
  <p>For that I think I don't have a target page for the Health Check on my instance.</p>
  
  <p>What is a target page? In my instance, inside <code>/var/www/html</code> folder I have index.php only directing to one html page (home page) inside another folder.</p>
  
  <p>So for health check, assumed that I need to have <code>index.html</code> (target page) inside <code>/var/www/html</code>.</p>
  
  <p>My questions are:</p>
  
  <ul>
  <li>Do I need to create target page index.html inside the <code>/var/www/html</code> folder?</li>
  <li>What should be inside that <code>index.html</code> file?</li>
  </ul>