将Route 53域名映射到Lightsail实例

huangapple go评论59阅读模式
英文:

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
  • Attached Static IP to the Instance: 3.78.31.183.
  • Instance is up and running and accessible via the static IP

I tried several 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 properly configured to me, the domain and the hosted zone are pointing 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 is a silly beginner question, but I'm totally lost on this one....

Thanks in advance!

英文:

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!

答案1

得分: 1

好的,以下是翻译好的部分:

事实上,最后只是一个缓存问题,几天后记录完全正常工作。不知道,即使dig命令已经显示正确的记录,我在浏览器中也收到了缓存结果...

英文:

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....

huangapple
  • 本文由 发表于 2023年5月21日 23:13:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/76300584.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定