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:
Asked
Active
Viewed 3,974 times
2
-
Can you show the headers/metadata on your index.html file? – datasage Apr 12 '13 at 01:41
-
@datasage: http://cl.ly/image/0U120Z453N1Q – Brian Dant Apr 12 '13 at 04:09
-
This link here is most likely your issue: http://stackoverflow.com/questions/18296875/amazon-s3-downloads-index-html-instead-of-serving – Samuel Hawksby-Robinson Jan 28 '14 at 19:49
1 Answers
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