Very basic DNS setup, not working

0

I've in the past succesfully transferred domains registered elsewhere to Route 53, and now I've bought a domain name with Route 53. After buying the domain I created a Hosted Zone and added an A record to the public IP of my EC2 instance. This has been done a couple of hours ago.

Using the IP address and public amazon dns name I can access the Apache webserver, but using my domain name http://glia-pkg.org I can not. Using nslookup I get the following error:

nslookup glia-pkg.org
Server: UnKnown
Address: 192.168.43.1

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** UnKnown can't find glia-pkg.org: Server failed

Dig:

id 10622
opcode QUERY
rcode SERVFAIL
flags QR RD RA
;QUESTION
glia-pkg.org. IN A
;ANSWER
;AUTHORITY
;ADDITIONAL

Edited by: RobinDeSchepper on Dec 8, 2019 12:51 PM

已提问 4 年前309 查看次数
2 回答
0

The problem was that creating the Hosted Zone created it with different nameservers than the domain was registered to, even though Amazon has always been the domain registrar.

已回答 4 年前
0

Hi,

When you register a domain, we automatically create a hosted zone for you, and associate the four name servers for the hosted zone with the domain registration. If you create another hosted zone, we give the new hosted zone four different name servers.

Scott

专家
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则