Reputation: 3476
I have a file that I want to rename, and I want to redirect incoming requests to the new file name.
Can I do this with AWS settings? I'm hoping I can setup a permanent alias in S3, so that the correct file gets copied out to CloudFront.
I found this doc on aliasing, but I'm not sure if it's what I need.
Upvotes: 0
Views: 453
Reputation: 3476
I was able to figure this out after further digging in the S3 interface and using this post:
Amazon S3 Redirect and Cloudfront
Redirects can be setup using metadata with a key "Website Redirect Location" and the new URL as the value.
Upvotes: 1