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
已提問 4 年前檢視次數 347 次
1 個回答
0

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

gvg
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南