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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store