本文介绍了CloudFront 分配未显示为 Route53 别名目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试添加一个指向我的 Cloudfront 分布的 route 53 记录集.但是,当我在路由 53 中选择创建记录集"并单击后续面板中的别名目标时,未列出云前端分布.我得到的只是没有可用的目标".我的分发已创建并启用(并且正在运行).我已经在我的分配中添加了一个 CName,其域名与我在 Route53 中设置的域名相同,但它仍然没有显示.

I’m trying to add a route 53 record set that points to my cloudfront distribution. However, when I select ‘create record set’ in route 53 and click the alias target in the subsequent panel, the cloud front distribution is not listed. All I get is ‘No targets available’. My Distribution has been created and is enabled (and is working). I have added a CName to my distribution with the same domain name that I’m setting up in Route53, but it still doesn’t show.

如何让我的分布显示在 Alias Target 字段中,以便我可以将 Route53 ‘a’ 记录指向它?

How do I get my distribution to show in the Alias Target field so that I can point a Route53 ‘a’ record to it?

谢谢

推荐答案

结合几个正确但不完整的答案:

Combining several correct but incomplete answers:

  1. 仅支持A 记录和AAAA.不是 CNAME 记录.
  2. Route53别名目标"框与 CloudFront 分配的备用域名"字段匹配.如果您正在为 something.example.com 创建新记录集,您应该已经将您的一个发行版的备用域名设置为 something.example.com.
  3. Route53 管理控制台可能会很慢,并且可能无法立即找到您的分发版 - 等到分发版状态为 Deployed.
  1. Only A records and AAAA are supported. Not CNAME records.
  2. The Route53 "Alias Target" box matches against CloudFront distributions' "Alternate Domain Names" field. If you're creating a new record set for something.example.com, you should have already set the alternate domain name for one of your distributions to something.example.com.
  3. The Route53 Management Console can be slow, and it might not find your distribution right away — wait until the distribution status is Deployed.

这篇关于CloudFront 分配未显示为 Route53 别名目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 14:54