sudo apt-get update
sudo apt-get upgrade
sudo install -y build-essential
libapache2-mod-proxy-html libxml2-dev
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_ajp
sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2enmod headers
sudo a2enmod proxy_balancer
sudo a2enmod proxy_connect
sudo a2enmod proxy_html
sudo a2enmod proxy_wstunnel
sudo a2enmod xml2enc
sudo a2enmod ssl
sudo service apache2 restart
Do ports al a @Voisses instruction if you wish to use non-standard ports... But for standard ports, as long as everything is served or reverse proxy through apache2, and you use unique ServerNames, they play along... If using a wildcard SSL, use your private ip.... i.e.... <VirtualHost 192.168.0.1:443> this is also suggested with multi-domain ssl, but not necessary on a subdomain level through my experience.
It looks like you're new here. If you want to get involved, click one of these buttons!