title: Apache 2 different port no for different website
body: <p>I have installed the ISPConfig in my ubuntu 16. In my existing apache 2, I have already had a website called example.com which is listening to port 80. For ISPConfig (domain will be <a href="https://www.example.com:8088" rel="nofollow noreferrer">https://www.example.com:8088</a>), I plan to use port 8088. I tried to update the example-ssl.conf file to support that.</p>
  
  <p>However, when I access the <a href="https://www.example.com:8088" rel="nofollow noreferrer">https://www.example.com:8088</a>, it will redirect to <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a></p>
  
  <p>I would like to ask if there is any problem with my config as I really cannot find out the problem.</p>
  
  <p>Thank you for your help.</p>
  
  <p>example-ssl.conf</p>
  
  <pre><code>Listen 80
  Listen 8088
  
  &lt;IfModule mod_ssl.c&gt;
          &lt;VirtualHost *:443&gt;
                  ServerAdmin webmaster@localhost
                  ServerName example.com
                  ServerAlias www.example.com
                  DocumentRoot /var/www/html
  
                  ErrorLog ${APACHE_LOG_DIR}/error.log
                  CustomLog ${APACHE_LOG_DIR}/access.log combined
  
  
                  #Include conf-available/serve-cgi-bin.conf
  
                  #   SSL Engine Switch:
                  #   Enable/Disable SSL for this virtual host.
                  SSLEngine on
  
  
                  SSLCertificateFile      /etc/ssl/mysite-selfsigned.crt
                  SSLCertificateKeyFile /etc/ssl/mysite-selfsigned.key
  
  
                  #SSLCACertificatePath /etc/ssl/certs/
                  #SSLCACertificateFile /etc/apache2/ssl.crt/ca-bundle.crt
  
  
                  #SSLCARevocationPath /etc/apache2/ssl.crl/
                  #SSLCARevocationFile /etc/apache2/ssl.crl/ca-bundle.crl
  
  
                  #SSLVerifyClient require
                  #SSLVerifyDepth  10
  
  
                  &lt;FilesMatch "\.(cgi|shtml|phtml|php)$"&gt;
                                  SSLOptions +StdEnvVars
                  &lt;/FilesMatch&gt;
                  &lt;Directory /usr/lib/cgi-bin&gt;
                                  SSLOptions +StdEnvVars
                  &lt;/Directory&gt;
                  BrowserMatch "MSIE [2-6]" \
                  nokeepalive ssl-unclean-shutdown \
                  downgrade-1.0 force-response-1.0
  
          &lt;/VirtualHost&gt;
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>example.com-8088.conf</p>
  
  <pre><code>Listen 8088
  &lt;VirtualHost *:8088&gt;
          ServerName example.com:8088
          ServerAlias www.example.com:8088
          DocumentRoot /usr/local/ispconfig/interface/web
  &lt;/VirtualHost&gt;
  </code></pre>