Subdomain redirection to EC2 instance

0

Hi, I am new to DNS and server setup. I have a website - abc.com hosted in hostgator and a python application running in ec2 instance. I need to point app.abc.com to the ec2 the instance while keeping the abc.com as it is.

What I have tried:
I have already created an elastic IP. Created nameserver records in Route 53 and added 4 NS in hostgator. Then, I created app.abc.com record in route 53. As of now, app.abc.com is redirecting to the ec2 instance but abc.com is not working. Im guessing I should not have added the 4 NS records from route 53 to the hostgator's DNS records.

Any idea on how to implement this?

gvg
asked 4 years ago329 views
1 Answer
0

Fixed it by adding another record in route 53 to point back to the host ip.

gvg
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions