Migrate AwsAmplify Domain to Cloudfront + S3

0

Currently im using AWS Amplify for my frontend application where "abc.io" domain is registered, Due to charged incur i am planning to change the service to s3 for storage and deliver the content with Cloudfront. I need to migrate the domain used by amplify to cloudfront domain. Within a same hosted zone amplify also used cloudfront "XXXXXXX.cloudfront.net." value. Tried to add CNAME in cloudfront but saying already exists on hosted zone my actual cloudfront domain to use is "YYYYYYYY.cloudfront.net" so how to do this any suggestion?

sailesh
已提問 3 個月前檢視次數 122 次
1 個回答
0

You can't use the same CNAME alias for more than one CloudFront distribution. When the CNAME alias that you want to add is already associated with another CloudFront distribution, you receive the following an example error:

"One or more of the CNAMEs you provided are already associated with a different resource. (Service: AmazonCloudFront; Status Code: 409; Error Code: CNAMEAlreadyExists; Request ID: a123456b-c78d-90e1-23f4-gh5i67890jkl*"

Please refer below link for resolution. https://repost.aws/knowledge-center/resolve-cnamealreadyexists-error

AWS
Billy
已回答 24 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南