3 Answers
- Newest
- Most votes
- Most comments
2
I found the issue - the index.html file had a link that was accessing an external resource. Once I removed that link, it worked fine. Now I have to figure out how to add links to external sites like facebook
1
Hi,
You may want to read https://repost.aws/knowledge-center/s3-website-cloudfront-error-403 and check all the points that they suggest to find your problem.
Best,
Didier
0
did you enable website hosting on your S3 bucket for your index.html file
answered a year ago
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a month ago
When hosting the website from cloudfront, I don't need to enable static website hosting for the bucket that has index.html
This is the doc I followed https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started-cloudfront-overview.html
Correct. You can access the bucket directly with APi calls instead of http public websites