How to host multiple domains in AWS lightsail Nodejs?

0

I have hosted two apps (2 domain). The primary app (3000) and domain works fine but the seondary domain is not pointing to port 3001 as configured in its vhost file. I have created seperate vhost file for both following this documentation: https://docs.bitnami.com/aws/infrastructure/nodejs/get-started/get-started/ but still secondary domain does not points to 3001. If I access the secondary app through <serverip>:3001 . I can see the app but the secondary domain does not points to 3001 instead it points to 3000.

What am I doing wrong here?

Is there any documentation available for this setup?

  • Post the vhosts files please

Ham44
preguntada hace un año59 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas