1 Answer
- Newest
- Most votes
- Most comments
1
Amazon S3 website endpoints don't support HTTPS, only plain HTTP.
I notice you've tagged the question with CloudFront, so have you put a CloudFront distrubution in front of the S3 bucket and associated a cert with it, and are serving the content from the S3 bucket that way?
If you've not go that working yet then these are the steps to achieve this https://repost.aws/knowledge-center/cloudfront-serve-static-website
Once you've got that working, it sounds like your goal is to serve the www and non-www addresses over HTTPS then I think this is what you need to be doing https://repost.aws/knowledge-center/multiple-domains-https-cloudfront
Relevant content
- asked 3 years ago
- asked 6 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago