Sana
Sana

Reputation: 347

Failed to host a static website on AWS s3

I have created my portfolio website, so now I would like to upload it on AWS s3. I bought a custom domain name for it, but before using it, I can't even host my website with the endpoint URL (something like this: http://masahiro-takechi.com.s3-website-us-west-1.amazonaws.com). When I copied and pasted it on Google, it says "This page isn't working". enter image description here

I believe I set proper settings to be able to host the website such as permissions and Static website hosting, and so on. Permissions are totally public, unblock access, generate correct bucket policy, and upload right folders and files like index.html. enter image description here

enter image description here

enter image description here

All tips would help me greatly, thanks for your time to help me in advance!!;)

Upvotes: 1

Views: 484

Answers (1)

Marcin
Marcin

Reputation: 238747

Your website should be in a root folder of the bucket. Otherwise, you have to access it using your folder:

http://masahiro-takechi.com.s3-website-us-west-1.amazonaws.com/engineer_portfolio_resume/index.html

Upvotes: 1

Related Questions