Skip to main content

Adding multiple ports to an Apache vhost

·20 words·1 min
Orlando Gentil
Author
Orlando Gentil
Jack of all trades, master of none

Adding multiple ports to an Apache vhost.
#

Listen 80 Listen 8080

<VirtualHost *:80 *:8080>
    ...
    DocumentRoot "/var/www/html"
    ...
</VirtualHost>