Site can't be reached

0

Hi, I launched and configured a new ec2 instance and associated an elastic ip address with the instance. I created a new hosted zone in route 53 with a simple A record pointing to the elastic ip address. I can reach my site using the the elastic ip address but can't using my url. I checked error logs, but nothing there. I tried start stop and reboot. Didn't work. I should be able to reach my site with a simple A, SOA and NS. records.

Any suggestions, Thanks.

parker
已提问 2 个月前188 查看次数
2 回答
1

Hello.

Is it possible to resolve the name of a domain linked to EC2 using the following command?
Also check the name resolution of your NS records to make sure the hosted zone is available.

dig domain.com
dig domain.com ns

If the name resolution of the NS record is successful, the hosted zone itself can be used, so it is possible that the domain propagation is simply taking time.
You can check the domain propagation status from the URL below.
https://www.whatsmydns.net/

If the NS record cannot be resolved, the hosted zone may not be usable.
In that case, please check whether the NS record checked using the "whois" command matches the NS record set in Route53.
If the NS records do not match, please modify the Route53 NS records to match the NS records checked by "whois".

whois domain.com

Also, try setting up a virtual host etc. on the web server side so that it can listen on the domain.
If you use Apache, you can configure it as shown in the document below.
https://httpd.apache.org/docs/2.4/en/vhosts/examples.html

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 1 个月前
0

My hosted zone shows my NS records, but I get errors when trying to look up ns for my url.

A DNS lookup shows that my url has no dns asociated with it. MXtoolbox provided this:

Sorry, we couldn't find any name servers for 'myurl.com'

Unable to resolve 'myurl.com' to an IP address.

thanks

parker
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则