The domain will not allow aws ec2 - using route 53 and elastic ip

I am trying to connect my domain to my ec2 instance, although I read all the messages on the Internet that I could find on the topic:

I am using Route 53 to route my domain to Elastic IP, which is assigned to EC2 Ubuntu 13.04 instance. nslookup for the domain externally shows Elastic IP address, but returns Server UnKnown.

My setup is as follows:

  • Domain All four route 53 delegation delegation options added as a name server. DNS lookup shows that everything is distributed and fine

  • Route 53: Recordset for domain.com and * .domain.com, pointing to Elastic IP

  • Elastic IP: assigned to EC2 instance

  • EC2 Instance: Ubuntu 13.04 with LAMP (MySQL disabled), vHost for * .domain.com and enabled, added 127.0.0.1 domain.com to etc / hosts file, everything restarted and configured

Entering an Elastic IP or a direct IP instance works just fine, only using the "Unable to resolve host name" return domains.

I would really appreciate any help on this.

+7
source share
1 answer

The EC2 instance and Elastic IP are beautiful, otherwise you will not be able to connect to the IP address. Problem with DNS.

I don’t understand how a DNS lookup can show that everything is fine, but you get "Can not resolve hostname". It is a statement that your local computer cannot translate the name that you assigned to the IP address. This means that something is wrong with DNS.

Are you sure you correctly registered your name servers with your registrar? You said that a DNS lookup says that everything is in order. If so, then the problem should be on route 53.

Are you using * the hostname in Route 53? If so, replace it with a simple word (e.g. www) and see if that works.

+4
source

All Articles