Search code examples
sslnetwork-programmingdnsamazon-elastic-beanstalkaws-certificate-manager

How do I point my DNS to an AWS ElasticBeanstalk Instance?


I've taken the following steps:

-Created an ElasticBeanstalk instance with URL my-instance.us-east-1.elasticbeanstalk.com

-Bought a Domain my-domain.com from Godaddy

-Got a SSL cert via AWS Certificate Manager for my-domain.com

-Added a CNAME record my-instance.us-east-1.elasticbeanstalk.com pointing to my-domain.com in GoDaddy

I've waited about 12 hours for the changes to take effect, but visiting http://my-domain.com and https://my-domain.com are both giving me the error "This site can’t be reached: my-domain.com’s server IP address could not be found."

Am I missing any steps here?


Solution

  • I abandoned this approach and have successfully set up SSL using and DNS pointing via AWS Route 53. AWS made it very easy.