Registering public domain to reactJS ip:3000 port

0

I have my EC2 instance running. I have port 3000 open in my security rules and can reach my running ReactJs application on {myIp}:3000 I have purchased a domain from godaddy. how do i get www.mydomain.com to specifically hit {myIp}:3000 .... on my godaddy domain registration it only allows for a public ip address and not a specific port???

Josh
已提問 8 個月前檢視次數 186 次
1 個回答
0

Hello.

Register the EC2 public IP address with GoDaddy using A record.

recordtypevalue
www.mydomain.comAEC2 Public IP

Once registered, you can access it on port 3000 by accessing as follows.

www.mydomain.com:3000
profile picture
專家
已回答 8 個月前
profile picture
專家
已審閱 8 個月前

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

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

回答問題指南