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
demandé il y a 8 mois183 vues
1 réponse
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
répondu il y a 8 mois
profile picture
EXPERT
vérifié il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions