Here's my setup:
- S3 Bucket for static website. Site generated by GatsbyJS
- CloudFront Distribution
- Configured CloudFront alternate domain names for mydomain.com and www.mydomain.com
- Attached SSL (from AWS Cert Manager) to my CloudFront distribution for mydomain.com and www.mydomain.com
- Route53: A record mydomain.com to CloudFront domain
- Route53: CName record www.mydomain.com to mydomain.com
Here's what I am experiencing
- mydomain.com: https good on Chrome, not on Firefox or Edge
- www.mydomain.com: no https for Chrome, Firefox, or Edge
I'm sure I am doing something wrong with configuration with the 'www' part. The weirdest one is the Chrome vs the other browsers not recognizing the HTTPS
A record
as anAlias
and point it to cloudfront – Arun K