Search code examples
amazon-web-servicesamazon-route53amazon-lightsail

Map Route 53 Domain to Lightsail Instance


I'm trying out hosting wordpress on aws, but i'm not able to connect my domain to the related instance. When i want to open my instance in the browser, the error says "Server not found" on firefox / "DNS_PROBE_FINISHED_NXDOMAIN" on chrome.

the setup: Domain: w3alx.de registered on aws route 53 Instance:

  • Wordpress Instance created with AWS Lightsail / default configuration
  • Atached Static IP to the Instance: 3.78.31.183.
  • Instance is up and running and accessible via the static IP

i tried severall configs according to route 53 hosting zones and name servers as well as dns configs directly in lightsail, but nothing seems to work. I googled a lot about changing name servers and so on but nothing did help.

Currently the domain is set up within a fresh hosted zone in route 53. The name servers seem also proper configured to me, the domain and the hosted zone are poinitng to the same. i tested it via

whois 

and

dig +trace 

against the domain in the console and received the right nameservers and a record to the instance. Weirdly i also included a CNAME record to catch www.w3alx.de and point it to non www, but this record is not shown in the tests or testing tools like: Google Toolbox or DNS Checker

i also tried to set it up via the lightsail dns service without the name servers>/hosting zone from route 53, but still got the exact same result. name servers looked perfectly good, but received the same errors when calling the domain in the browser...

Sorry, if this a silly beginner question, but i'm totally lost on thid one....

Thanks in advance!


Solution

  • Okay, in fact, in the end it was just a caching issue and after a few days the records work perfectly fine. Didn't know, that i receive a cached result in the browser, even though the dig command shows already the right records....