title: hosting multiple sites on S3 bucket serving index.html from directory path
body: <p>I'm new to using AWS S3. I want to know if it's possible to host multiple static websites in one bucket using the website route directing meta data option. I am planning to have multiple folders each with their own <code>index.html</code>, but how can I configure the bucket settings to route to each individual site when a user types the address.</p>
  
  <p>For example by typing</p>
  
  <pre><code>http://&lt;bucket-name&gt;.s3-website-&lt;AWS-region&gt;.amazonaws.com/folder1 
  </code></pre>
  
  <p>will take them to website 1</p>
  
  <p>and </p>
  
  <pre><code>http://&lt;bucket-name&gt;.s3-website-&lt;AWS-region&gt;.amazonaws.com/folder2 
  </code></pre>
  
  <p>will take them to website 2</p>
  
  <p>If this is possible, is there any way to also achieve the configuration using the AWS CLI?</p>