Multiple Sites on Multiple Ports
Example to setup 2 sites on 2 ports
80
- http://www.example.com8080
- http://www.example.com:8080
Setup 2 ports
Edit the /etc/apache2/ports.conf
to add port number of Listen
Listen 80
Listen 8080
Edit the configuration file
<VirtualHost *:8080>
DocumentRoot /var/www/default
</VirtualHost>