HOW TO CONFIG REDIRECT ROOT/NAKED ROUTE53 DOMAIN HTTP TO WWW HTTPS Using S3 and CloudFront with Route53
STEPs
- S3 static website hosting bucket same domain name with direct mode
- Cloudfront using Origin domain of S3 website endpoint (NOT bucket name) + custom domain + custom SSL (via ACM)
- Route53 -> alias to CloudFront (us-east-1 only)
DETAILs
S3:- New empty bucket using bucket name must be equal domain name