Amazon Elastic IP + EC2

I installed an instance of EC2 and Elastic IP, which is associated with the instance. I also set an A record in the DNS provider zone editor so that the domain name points to a flexible IP, for example. example.com = 123.123.123.123.

After reading a lot of posts, it seems like this is enough to work, but my domain name still does not allow it. I can’t even check the IP address! Strange, I CAN ssh into an EC2 instance through a resilient IP, and everything seems fine, except that my domain name does not allow an EC2 instance!

Any thoughts?

+4
source share
1 answer

DNS names take some time to propagate, so this is probably your first problem.

  • Go to http://www.whatsmydns.net/ and enter your domain name. If all locations are returned with the correct ip, then you can safely assume that this is not a DNS propagation problem.
  • Enable ICMP rules in the security group. If you are using the aws console, create a new rule for "All ICMP" with source "0.0.0.0/0". Enabling this poses a security risk to your server, so allow this temporarily during testing. At this point, you can ping your instance.
  • If using HTTP or HTTPS allows the correct ports in the security group for these protocols and as long as the instance is correctly configured with Apache, you should work and work.
+5
source

All Articles