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
asked a month ago176 views
2 Answers
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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
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
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions