CloudFront 绑定自定义域名时出现已存在错误?

0

【以下的问题经过翻译处理】 你好!

我正在尝试在CloudFront分发中使用自己的域名,但一直出现以下错误:

您提供的一个或多个CNAME已与其他资源关联。

我可以百分之百确定我没有在我的账户中的其他CloudFront分发中使用相同的名称作为CNAME。

如何找出发生冲突的分发的ARN名称?也许是由另一个账户添加的?

profile picture
EXPERT
asked 6 months ago18 views
1 Answer
0

【以下的回答经过翻译处理】 通过联系技术支持解决了问题。

使用以下CLI命令,我发现冲突的CNAME属于我不拥有的另一个帐户:

aws cloudfront list-conflicting-aliases --distribution-id YourDistributionID --alias YourCNAME

也许它是以前的域名所有者。

回复如下:

{
    "ConflictingAliasesList": {
        "MaxItems": 100,
        "Quantity": 1,
        "Items": [
            {
                "Alias": "****",
                "DistributionId": "*******",
                "AccountId": "******"
            }
        ]
    }
}

然后我联系了支持部门,并要求在使用我的域名作为CNAME时优先考虑。 然后我等了4天,问题得到了成功解决。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions