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
asked 7 months ago177 views
1 Answer
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
EXPERT
answered 7 months ago
profile picture
EXPERT
reviewed 7 months 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