I have 2 CloudFront distributions in AWS, each with its own different certificate. Each has several CNAMEs attached and each CNAME has a corresponding Record Set in Route 53.
Is there a way to redirect one of the URLs to a CNAME in the other CloudFront Distribution?
So for example, if CloudFront Distribution A contains 2 CNAMES, abc.my-old-site.com and 123.my-old-site.com, and CloudFront Distribution B contains 2 CNAMEs, abc.my-new-site.com and 123.my-new-site.com, can I redirect abc.my-old-site.com to abc.my-new-site.com?
You can do two ways this :
First
Second