So I've followed the instructions in this excellent guide for setting up a redirect from sub.my-domain.com
to my-domain.com/sub
. I've checked and double checked my settings, but when I access sub.my-domain.com
I get the error
404 Not Found
Code: NoSuchBucket
Message: The specified bucket does not exist
BucketName: sub.my-domain.com
If I go to sub.s3-website-eu-west-1.amazonaws.com
(the bucket I created) it is redirected correctly, and I am 100% certain double-plus confirmed that the url in the CNAME Record Set is the correct one. What is going on?
It seems like BucketName
in the error message is wrong, but why is this?