I use route 53 as my dns serever
then I have a A record in my route 53 records called
image.mysite.com. A 111.222.333.444
then I want to use CloudFront as my cdn to caching images then I added new Distributions and removed the A record added cname:
image.mysite.com. CNAME d23456.cloudfront.net
but when I visit my website image.mysite.com it show
Sorry, invalid request
and when i trying to visit d23456.cloudfront.net directly it displayed:
ERROR
Failed to contact the origin.
how can I successfully use CloudFront as image.mysite.com CDN and use route 53 as dns server?