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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南