Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to host HTTPS site from S3 Static website hosting on AWS?

Documentation

Offers only HTTP, how to make it to work on HTTPS? Is it possible?

enter image description here

I configured and it is working fine for HTTP, but for HTTPS I'm getting

This site can’t be reached

Even though I created certificates to my domain in AWS Certificate Manager.

like image 227
Yevgeniy Afanasyev Avatar asked Aug 23 '26 19:08

Yevgeniy Afanasyev


1 Answers

CloudFront can be used to serve HTTPS request for static website hosted on S3. Here is some AWS documentation https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/

Also, i found this blog very explanatory - https://medium.com/@sbuckpesch/setup-aws-s3-static-website-hosting-using-ssl-acm-34d41d32e394

Hope this helps.

like image 196
pradeep Avatar answered Aug 25 '26 10:08

pradeep