domain name not resolving to a site hosted in ec2 windows server

0

hello - im having an issue with a domain name resolving to a site hosting in iis on an ec2.

In route53, i transferred a domain name into aws. the domain registration is complete. i have a hosted zone with a, ns and soa records. the a record points to a public ip.

I have an ec2 running a windows server with 2 private ip address, 2 public ips. my hosted a record points to one of the public ip addresses. i can request the ip outside of aws/rdp just fine. However, when bind the domain name to the web site in iis and try to request the site is doesn't resolve.

I noticed the following as i have 2 sites with domain names.

  • domain/site 1 -- the route 53 registered domain server names, hosted zone name servers and ns records contain the same 4 entries.
  • domain/site 2 (problem) -- the the route 53 registered domain server names are different from the hosted zone name servers and ns record.

What would be causing this failure?

2개 답변
1
수락된 답변

Hi,

Referring this specific note from your post,

domain/site 2 (problem) -- the the route 53 registered domain server names are different from the hosted zone name servers and ns record

The name server names in the registered domain must match those provided by the hosted zone for that hosted zone to be delegated as the DNS Manager for that domain. Right now the mismatch means the registered domain is not being managed by that hosted zone and hence the A-record added in the hosted zone, will not take effect.

Please refer this doc on how to update the Route53-registered domain's NS record/name server names

Thanks.

profile pictureAWS
전문가
AWS-SUM
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
  • Thank you!

  • No problem :)

0

If i run nslookup in the command prompt, it returns unfound. the same with doing a tracert. i use the reg data lookup tool and the dns is correct as it matches the route 53 registered domain Name servers. https://lookup.icann.org/en/lookup

will
답변함 한 달 전

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

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

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

관련 콘텐츠