I'm really new to Amazon CloudFront.
I have set up an S3 with Cloudfront, then I'm using a custom domain that I setup in CloudFlare.
I can access my photo normally with this kind of link : https://cdn.example.com/img.jpg
But then, when I try to open it with the www version, https://www.cdn.example.com/img.jpg
The content won't open and give error.
See here:
Is there any solution available to auto redirect to non www ?