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

asked 4 years ago302 views
2 Answers
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.

answered 4 years ago
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

EXPERT
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions