1 個回答
- 最新
- 最多得票
- 最多評論
0
If you perform a DNS lookup for the custom domain you're trying to add, you will see that it resolves to a CloudFront distribution. If that doesn't match the distribution you're trying to add this to, you'll get this error.
If you perform a DNS lookup for the custom domain you're trying to add, you will see that it resolves to a CloudFront distribution. If that doesn't match the distribution you're trying to add this to, you'll get this error.
So is there any possibility to resolve the error and create the custom domain with the same domain name and acm
You can't have a custom domain name associated with two different CloudFront distributions at the same time. If you did that, how would CloudFront know which of the two distributions to use when a viewer makes a request? You will need to choose which distribution you want to use this custom domain name with, and then configure the DNS records accordingly. Instructions for configuring alternate domains, and the associated DNS records, can be found here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html