Listen 443 Listen 8081 Listen 8082 <VirtualHost 127.0.0.1:8081> ServerName Test.domain.com SSLProxyEngine on SSLEngine on SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key DocumentRoot /var/www/html/test/ </VirtualHost> <VirtualHost 127.0.0.1:8082> ServerName Test.domain.com SSLProxyEngine on SSLEngine on SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key DocumentRoot /var/www/html/test2/ </VirtualHost>
Weitere Beispiele für VirtualHost finden Sie hier: https://httpd.apache.org/docs/2.4/vhosts/examples.html