I have a Web and I wanted to move its images to AWS S3. Say it's called mypage.com
and I can access to an image like this:
https://mypage.com/pics/one.jpg
I created a bucket called static.mypage.com
to put there all the images, so now I can access to the images like this:
https://static.mypage.com.s3.eu-west-1.amazonaws.com/pics/one.jpg
As it is a very long name, I want use a "shortener" using DNS.
So, I'd want to know how to set the CNAME in my DNS provider to make possible that if I go to...
https://static.mypage.com/pics/one.jpg
...I'd get the images from the bucket.
Thanks!
Host
header).