Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleted Route53 Hosted zone then recreated. Doesn't work?

I can't really figure this out and have scoured all through Amazon's documentation looking for anything and still can't get it. I'm hoping someone has dealt with this before.

So I was trying to get a Route53 domain to forward to an S3 bucket. The default 'Hosted Zone' that Route53 makes after registering a domain didn't seem to get the Alias of my S3 bucket, and the Amazon instructions said to make a new Hosted zone. So I deleted the Hosted Zone made by default and made a new one, which it then could get the alias to my S3 bucket and I set it up to forward to my S3 bucket.

But now, the domain just doesn't flat out work at all. In anyway. It has the 'NS' and 'SOA' type record sets in it that get made by default, it looks all similar to my other domains that are working. But it doesn't work. Even making a CNAME forward to google.com does not work. I have waited 24 hours to see if it's DNS needing to update. And no luck.

Did I do something really stupid when I deleted the old hosted zone and made a new one? Do I need to do more manual configuration on the new hosted zone to get it to resolve?

like image 261
rygo6 Avatar asked Mar 08 '15 01:03

rygo6


1 Answers

You should use your hosted zone's name servers as a domain's name servers, not the other way around.

That is, you should do the following:

  1. Find your hosted zone in the list. Click on it (don't go inside)
  2. Locate name servers in the right-side panel and record it.
  3. Navigate to your domain's details page and change the domain's name servers to match the hosted zone's.
  4. Verify that operation completes successfully in the alerts table on the dashboard.
  5. Wait until the change propagates.

And revert the charges you've did to hosted zone's name servers (or better delete this zone and create a fresh one)

like image 195
Mykhailo Delegan Avatar answered Nov 17 '22 11:11

Mykhailo Delegan