I have an apache2 server on Ubuntu 14.04 with 2 sites on different ports: site1.domain.com -> Port 80 site2.domain.com -> Port 8888
http://site1.domain.com -> OK
http://site2.domain.com:8888 -> OK
http://site1.domain.com:8888 -> Also OK
I wonder site1 only on port 80 and site2 only on port 8888.
My: ports.conf are:
Listen 8888
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Listen 80
The site1 has:
<VirtualHost *:80>
And the site2 has:
<VirtualHost *:8888>
TIA