I have a domain say example.com paired with Cloudfront and S3 to host a static website. The problem is while https://example.com and http://example.com are working fine but www.example.com is not working.
How can I add the config to route the traffic correctly from www sub-domin also? Thanks!
Follow the below steps to satisfy your requirement:
test.example.com
, and add www.test.example.com
as an alternate domain (@ Add another name to this certificate)Create Records in Route53
, then wait for it to succeed.General tab
> Settings
Custom SSL Certificate
www.test.example.com
domain