I have searched almost everywhere on how to redirect with cloudfront. I created an s3 bucket for static website hosting and even used their redirect there BUT
because i am not serving whole website via cloudfront, now cloudfront does not follow that redirect rule.
How can i make cloudfront redirect non www to www?
https://www.pbxdom.com/how-redirect-non-www-to-www-with-amazon-cloud-front-route-53-and-s3
already and did not work. How will DNS route www if i only have non-www record in route53? so that did not work..and www to non-www is a little different