2

I'm trying to setup a static page on s3 with these instructions. When I access the "Endpoint", my browser tries to download the file instead of displaying the page. Here's the relevant settings:

Policies:

enter image description here


Permissions:

enter image description here


Static Site Config:

enter image description here


Directory Structure:

enter image description here

Community
  • 1
  • 1
Brian Dant
  • 4,029
  • 6
  • 33
  • 47

1 Answers1

0

According to the documentation, the bucket name needs to match the domain. In the documentation you linked, the walkthrough creates two buckets: example.com and www.example.com. example.com bucket contains your website contents, while www.example.com is configured to route to example.com bucket.

Looking at your images, it looks like you named your bucket 'rampup-io'. You need to change this bucket name to match your domain: yourdomain.com. You have the option to create www.yourdomain.com.

alfredaday
  • 2,048
  • 18
  • 14
  • It's true that they say that on the documentation, but they also provide an ending point that should allow you to see the content. I don't think this solves the issue. – Vinicius Santana Mar 04 '17 at 03:12