title: Amazon route 53 ERR_NAME_NOT_RESOLVED
body: <p>I've just transferred my domain to Route 53 successfully, and have some issues around resolving my name.</p>
  
  <p>After the transfer, I can't remember if I created it or if it was created automatically, but I clicked on the new hosted zone. 
  This hosted zone had 2 record types, NS and SOA. The NS has 4 values and the SOA, 1.</p>
  
  <p>I added a record set type A with a name xxx.com, routing policy Simple and set the Alias to my Elastic Beanstalk.
  I created a new record set type A with a name www.xxx.com, routing policy Simple and set the Alias to my Elastic Beanstalk.</p>
  
  <p>After a few hours, I typed in www.xxx.com and got a <code>ERR_NAME_NOT_RESOLVED</code>.</p>
  
  <p>I read somewhere to perform a dig operation. I was told the authority section should have more than value, but mine only has one.</p>
  
  <pre><code>dig xxx.com
  
  ; &lt;&lt;&gt;&gt; DiG 9.8.3-P1 &lt;&lt;&gt;&gt; xxx.com
  ;; global options: +cmd
  ;; Got answer:
  ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NXDOMAIN, id: 30666
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
  
  ;; QUESTION SECTION:
  ;xxx.com.       IN  A
  
  ;; AUTHORITY SECTION:
  com.            900 IN  SOA a.gtld-servers.net. nstld.verisign-grs.com. 1451983556 1800 900 604800 86400
  
  ;; Query time: 60 msec
  ;; SERVER: 80.58.61.250#53(80.58.61.250)
  ;; WHEN: Tue Jan  5 09:46:13 2016
  ;; MSG SIZE  rcvd: 113
  </code></pre>
  
  <p>Is there a step I'm missing somewhere?</p>
  
  <p>UPDATE**</p>
  
  <p>I stumbled across the following infomation:</p>
  
  <blockquote>
    <ul>
    <li>Before the Domain Name System will start to route queries for this domain to Route 53 name servers, you must update the name server
    records either with the current DNS service or with the registrar for
    the domain, as applicable. For more information, click the ? icon
    above.</li>
    </ul>
  </blockquote>
  
  <p>Where is my name server? I originally registered my domain with GoDaddy and then migrated over to Amazon Route 53. Should that information have been given to me by GoDaddy? I've searched my email's and logged onto GoDaddy, but I can't find anything related to a 'name server'.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I was going back over the documentation found here
  <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html#Step_UpdateRegistrar" rel="nofollow">http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html#Step_UpdateRegistrar</a></p>
  
  <p>And I've got as far as </p>
  
  <blockquote>
    <p>Using the method provided by the registrar for the domain, replace the
    name servers in the registrar's NS records with the four Amazon Route
    53 name servers that were returned when you submitted the
    GetHostedZone request in the previous step.</p>
  </blockquote>
  
  <p>Is Amazon not my new registrar?</p>
  
  <p>I got this email from them stating that they are my new registrar:</p>
  
  <pre><code>We have finished transferring your domain registration for the domain xxx.com from your previous registrar to Amazon Route 53.
  </code></pre>
  
  <p>Sorry for the long question but i'm not familiar with this process and it just seems like it's very complicated.</p>
  
  <p><strong>Answer</strong></p>
  
  <p>Ok, so Amazon was my NameServer:</p>
  
  <blockquote>
    <p><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-name-servers-glue-records.html" rel="nofollow">http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-name-servers-glue-records.html</a></p>
  </blockquote>
  
  <p>Once I updated that, everything worked.</p>