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,360 points
36 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
• 56,960 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
• 56,960 points
868 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
• 56,960 points
605 views
+1 vote
10 answers
0 votes
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,560 points
102 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
• 56,960 points
34 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
• 56,960 points
1,162 views