Can't resolve DNS Aws

I recently registered a domain for a joke website saladsimulator.com.  I figured I could whip up the page in a couple of minutes and throw it up on AWS using S3 static site hosting.  All done in an hour or so. What I thought would take an hour ended up in a multi-day ordeal while I tried to get the DNS to resolve.  I went through what seem to be the typical problems.
  • The bucket wasn't configured to be accessible as a website.
  • My bucket wasn't named the same as the website; the bucket needed to be saladsimulator.com to match the domain saladsimulator.com.
I got these fixed up and found that it still wasn't working.
 I added extra routes in to see if I could Alias or CNAME to a known working site, but they didn't work either. So it seemed it was a problem with something to do with the DNS configuration.

After searching around I found a mention in a thread that the name server records in the hosted zone needed to match those in the domain name registration.  In attempting to get the hosted zone to recognise the bucket I had deleted the one created by default when I registered the domain.  The new hosted zone did not have matching name servers to the domain name.  I updated the domain's name servers to match that of the hosted zone, and BAM! name resolution.

So in the end I needed to make sure that the domain name servers:
Route 53 > Registered domains > saladsimulator.com

matched those in the hosted zone:
Route 53 > Hosted zones > saladsimulator.com

Comments

  1. This is a really well written blog. I’ll be sure to bookmark it and return to read more of your useful information. Thanks for the post...
    AWS Training in Chennai | Web Designing Training in Chennai

    ReplyDelete
  2. Very interesting post. Today selenium testing course online is essential to learn about selenium

    ReplyDelete
  3. There are endless lapsed, non recharged and unclaimed names that are accessible day by day. At the point when a name is enrolled however not recharged on time it then, at that point opens up. https://onohosting.com/

    ReplyDelete
  4. You should imagine that it is hard to get a decent name as individuals are continually eating them up when they are out on the lookout. You should be ready assuming you need to buy domain names. You would likewise must be sufficiently speedy to enlist them before somebody does. https://onohosting.com/

    ReplyDelete
  5. If you are seeking to take your online business to new heights, you should opt for a web hosting option that delivers proficiency, security and reliability. A dedicated server is one of the cutting-edge platforms that ensure your mission-critical applications remain up and running all the time, without conceding with security and compliance requirements. https://onohosting.com/

    ReplyDelete
  6. I am obliged for the article. Really thank you! Great.
    yt to mp3

    ReplyDelete

Post a Comment

Popular posts from this blog

Solving `Empty reply from server` in DotNet Core

Testing functions that use local storage with Jest