title: How to point domain names to S3 objects?
body: <p>I would like to create multiple webpages in a single S3 bucket and access them by different domains.</p>
  
  <p>For example, I have S3 objects:</p>
  
  <ul>
  <li>/my-bucket/page1/index.html</li>
  <li>/my-bucket/page2/index.html</li>
  <li>/my-bucket/page3/index.html</li>
  </ul>
  
  <p>That can be accessed like that:</p>
  
  <ul>
  <li><a href="https://s3.amazonaws.com/my-bucket/page1/index.html" rel="nofollow noreferrer">https://s3.amazonaws.com/my-bucket/page1/index.html</a></li>
  <li><a href="https://s3.amazonaws.com/my-bucket/page2/index.html" rel="nofollow noreferrer">https://s3.amazonaws.com/my-bucket/page2/index.html</a></li>
  <li><a href="https://s3.amazonaws.com/my-bucket/page3/index.html" rel="nofollow noreferrer">https://s3.amazonaws.com/my-bucket/page3/index.html</a></li>
  </ul>
  
  <p>Is it possible to access those S3 objects by domain:</p>
  
  <ul>
  <li><a href="https://www.page1.com/index.html" rel="nofollow noreferrer">https://www.page1.com/index.html</a></li>
  <li><a href="https://www.page2.com/index.html" rel="nofollow noreferrer">https://www.page2.com/index.html</a></li>
  <li><a href="https://www.page3.com/index.html" rel="nofollow noreferrer">https://www.page3.com/index.html</a></li>
  </ul>