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달 전197회 조회
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
전문가
검토됨 2달 전
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
답변함 2달 전

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

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

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

관련 콘텐츠