Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

176
Vistas
How do I deploy three separate repos for 1 main domain and 2 subdomain on DigitalOcean?

I'm fairly new to MERN and we're trying to deploy an app to DigitalOcean with one main domain and 2 subdomain.

we have the following setup for our app.

Three separate repos:

  • Api (backend server for reading writing data)
  • User (front end for users of our app)
  • Admin (back end for admins)

We have 3 domains / subdomains registered in the following format: domain.com (user) admin.domain.com (admin) api.domain.com (api)

Questions:

  • How do we setup the droplet to accommodate this configuration? (user and admin side should point to api server)
  • How do we deploy to the three separate repos from github to the one droplet while respecting the corresponding domain / subdomains?

Other considerations: Do we need to use Nginx? Pm2? We will be using mongodb as our database.

Thank you!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I would suggest you to use Nginx as a web server. PM2 would not be a choice because it's not probably a server by itself.

Refer Nginx Docs here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda