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

126
Vistas
Apache multiple subdomains pointing to one ip but to different ports

I searched a lot on how to create multiple subdomains pointing to the same IP address but to different sites and I found that with apache you can do it using the HTTP Host header and it works, but when I switch to HTTPS it doesn't work anymore because I saw that in the HTTPS protocol the Host header doesn't exist. How can I do that with HTTPS?

This is my current apache HTTP config file

000-domain.com.conf

<VirtualHost *:80>
    ServerName sub1.domain.com
    ServerAlias sub1.domain.com
    ServerAlias *.sub1.domain.com
    DocumentRoot "/var/www/sub1"
</VirtualHost>


<VirtualHost *:80>
    ServerName sub2.domain.com
    ServerAlias sub2.domain.com
    ServerAlias *.sub2.domain.com
    DocumentRoot /var/www/sub2
</VirtualHost>
over 4 years ago · Santiago Trujillo
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