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
demandé il y a 2 mois197 vues
2 réponses
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
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
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
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions