Cannot access AWS domain purchased with Route 53

0 votes

I recently purchased a domain on AWS mydomain.com with the intention of creating a record set which can forward traffic to an EC2 instance which I also have running. However, when I try to access mydomain.com from a web browser, I get the error that the site cannot be reached.

The record set I created for this domain was myapp.mydomain.com. I configured this to point to my EC2 instance. When I try to access this domain from a web browser, I get a 502 bad gateway error.

Can someone explain what is going on here?

Sep 14, 2018 in AWS by bug_seeker
• 15,520 points
606 views

1 answer to this question.

0 votes
You will need to start by creating a zone in Route53 for the domain - so mydomain.com, NOT anything else.

Once that has been created, there will be 2 records: SOA and NS.

Using the "Registered Domains" screen, click on the domain and make sure that the name server records match the NS records in the zone you created.

Once that is done, you should be able to create a new A record in the mydomain.com zone for myapp.mydomain.com that points to the IP address of your EC2 instance.
answered Sep 14, 2018 by Priyaj
• 58,090 points

Related Questions In AWS

0 votes
1 answer

AWS Elastic Beanstalk EC2 With Redis - Cannot Connect - Django_Redis

After setting the security group, I found ...READ MORE

answered Aug 22, 2018 in AWS by Priyaj
• 58,090 points
4,111 views
+6 votes
1 answer

What is Route 53 in AWS?

Hello @Kanishk, First of all Route 53 is ...READ MORE

answered Dec 5, 2018 in AWS by Priyaj
• 58,090 points
1,940 views
0 votes
1 answer
+1 vote
1 answer

Hosting static website with AWS S3 and Route 53

Add an additional bucket called myblog.com and ...READ MORE

answered Dec 4, 2018 in AWS by Archana
• 5,640 points
822 views
0 votes
1 answer

Cannot access AWS domain purchased with Route 53

You will need to start by creating ...READ MORE

answered Sep 17, 2018 in AWS by Priyaj
• 58,090 points
351 views
+2 votes
2 answers

How do we move a domain from Hostgator to AWS Route 53?

I found this  Before transferring a domain, make ...READ MORE

answered Aug 3, 2018 in AWS by Priyaj
• 58,090 points
5,241 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP