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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠