删除了Route 53托管区域,无法再次正确创建它 [英] Deleted Route 53 hosted zone, can't correctly create it again

查看:91
本文介绍了删除了Route 53托管区域,无法再次正确创建它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AWS上有一个与ElasticIP相关联的Amazon EC2实例.我从Route 53购买了域.它会自动创建托管区域.

I have an Amazon EC2 instance on AWS associated with an ElasticIP. I purchased domain from Route 53. It automatically created the Hosted Zone.

为域名创建记录集后,它工作正常.

It worked fine after creating a Record Set for the domain name.

我已经删除了该托管区域,但是当我再次添加它时,它就无法正常工作.我在那儿想念什么?

I have deleted that Hosted Zone but when I add it again, it is not working. What am I missing there?

推荐答案

删除托管区域然后将其放回时,并不是完全将其放回去.您只是在创建一个与原始版本相似(但不相同)的.

When you delete a hosted zone and then put it back, you're not exactly putting it back. You're just creating one similar to (but not identical to) the original.

所以不要那样做.但是,既然您已经做过,这里就是解决方法:

So don't do that. But, since you already did, here's the fix:

当您单击托管区域"中的域时,您会在屏幕的最右侧看到4条由Route 53分配给托管区域的名称服务器.

When you click on a domain in "Hosted Zones," you see 4 name servers assigned to the hosted zone by Route 53 on the far right side of the screen.

每次创建托管区域时,这4个值几乎总是不同的-这意味着您托管的区域现在位于Route 53中的4个新的,不同的权威名称服务器上,与之前部署时所在的服务器不同正在使用旧的托管区域.

Each time you create a hosted zone, these 4 values will almost always be different -- meaning that your hosted zone now lives on 4 new, different authoritative name servers in Route 53 than the ones it was previously deployed on, when you were using the old hosted zone.

但是Internet仍然希望 old 4个名称服务器拥有您的记录...而他们没有,因为您删除了原始托管区域.

But the Internet is still expecting the old 4 nameservers to have your records... which they don't, because you deleted the original hosted zone.

您必须使用域注册商来更新权威名称服务器.在这种情况下,这实际上是Route 53的另一部分.

You have to update the authoritative nameservers with your domain registrar. In this case, that's actually a different part of Route 53.

在Route 53控制台中,单击注册域".

In the Route 53 console, click "Registered Domains."

选择您的域.

选择添加/编辑名称服务器".

Choose "add/edit name servers."

为上述Route 53名称服务器输入正确的值,当您从托管区域"页面中单击域时,将看到这些正确的值.

Enter the correct values for the Route 53 name servers, which are the ones mentioned above, which you'll see when you click on the domain from the Hosted Zones page.

大部分内容来自我的回答服务器故障时的类似问题.

Most of this content is from my answer to a similar qestion at Server Fault.

这篇关于删除了Route 53托管区域,无法再次正确创建它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆