4

I have two AWS accounts old and new. The domain is purchased from the old account and the site is hosted in the new one. I was planning to delete the old and so requested for domain transfer to AWS team and they have done. So I have created new hosted zones in the new AWS account and after deleting the old one. nothing works. Before deleting the old one, I have selected the hosted zones and deleted it.

Can someone help me?

  • Did you change the nameservers to the new list? – ceejayoz Mar 15 '17 at 3:09
  • no. the ns and soa records are suggested by AWS and I have added an A record – Tismon Varghese Mar 15 '17 at 4:19
8

Leave the NS and SOA records alone.

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.

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. These will also be the default values for the NS records, which should never¹ be edited.

Each time you create a hosted zone, these 4 will almost always be different -- meaning that your hosted zone now lives on 4 new, different authoritative name servers in Route 53.

But the Internet is still expecting the old 4 nameservers to have your records... which they don't.

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

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

Select your domain.

Choose "add/edit name servers."

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.

When transferring a domain's registration to Route 53 when a hosted zone for the domain is already present, live, and working in Route 53, don't delete the hosted zone. As part of the transfer, you want to select the option to continue using the "current" nameservers in this case, because they are already the correct values.

Same answer to a different question on Stack Overflow.


¹should never be edited unless you're doing some white label hackery -- but don't do that. As explained at the bottom of the linked page, white label name servers seem to represent a significant administrative burden if you want geographic or latency-based DNS responses to work as expected, which would include A-record aliases that point to CloudFront. Otherwise, the default values for NS and SOA in Route 53 are always already correct, and the problem is somewhere else.

|improve this answer|||||
  • Thank you so much for this! I have been looking for answers for 3 days and this actually worked. You'd think Amazon would advise you of this when you delete a hosted zone. Again, thank you! – Tensigh Nov 8 '17 at 3:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.