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?

will
已提問 1 個月前檢視次數 332 次
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
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前
  • 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
已回答 1 個月前

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

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

回答問題指南