I've hosted a static website on AWS using S3, CloudFront and Route53.
I issued a certificate (covering *.xyz.com and xyz.com) with Certificate Manager and everything is working fine when I enter xyz.com and www.xyz.com. Both URLs redirect to https://xyz.com, which is exactly what I want.
But if i try to go to https://www.xyz.com it does not work, although http://www.xyz.com does work. Why is that?
I'm assuming I'm doing something wrong in Route53 or CloudFront.