title: Configuring VirtualHost to run a second website, issue with <VirtualHost *:8080>, error with `Listen`
body: <p>I am trying to figure out how to host a second Django website from my VM and I am wondering if somebody could see where I have made any obvious mistakes. </p>
  
  <p>Currently whichever site is set to <code>&lt;VirtualHost *:80&gt;</code> works. I learned from <a href="https://stackoverflow.com/a/1553751/1214163">this answer</a> that I should specify the second website to <code>&lt;VirtualHost *:8080&gt;</code>. However when I try to use <code>Listen</code> I get the below error when I try to reload apache</p>
  
  <blockquote>
    <p>Job for apache2.service failed. See 'systemctl status apache2.service'
    and 'journalctl -xn' for details.</p>
  </blockquote>
  
  <ul>
  <li><p>Does anyone understand what might be going wrong? </p></li>
  <li><p>Why does <code>&lt;VirtualHost *:80&gt;</code> but not <code>&lt;VirtualHost *:8080&gt;</code>?</p></li>
  <li><p>And why do I get the error when I specify <code>Listen</code>?</p></li>
  </ul>
  
  <p>I am using Debian 8.5, Apache 2.4.10 and mod-wsgi 4.3.0-1. </p>
  
  <pre><code>Listen 80
  &lt;VirtualHost *:80&gt;
  
  ServerName myserver.scss.tcd.ie/bias_experiment/
  
  Alias /bias_experiment/static/ /var/www/bias_experiment/static/
  &lt;Directory /var/www/bias_experiment/static&gt;
  Order deny,allow
  Allow from all
  &lt;/Directory&gt;
  
  WSGIScriptAlias /bias_experiment /var/www/bias_experiment/src/bias_experiment/index.wsgi
  &lt;Directory /var/www/bias_experiment/src/bias_experiment&gt;
  &lt;Files index.wsgi&gt;
  Order deny,allow
  Allow from all
  &lt;/Files&gt;
  &lt;/Directory&gt;
  
  &lt;/VirtualHost&gt;
  
  
  Listen 8080
  &lt;VirtualHost *:8080&gt;
  
  ServerName myserver.scss.tcd.ie/bias_experiment_two/
  
  Alias /bias_experiment_two/static/ /var/www/bias_experiment_two/static/
  &lt;Directory /var/www/bias_experiment_two/static&gt;
  Order deny,allow
  Allow from all
  &lt;/Directory&gt;
  
  WSGIScriptAlias /bias_experiment_two /var/www/bias_experiment_two/src/bias_experiment/index.wsgi
  &lt;Directory /var/www/bias_experiment_two/src/bias_experiment&gt;
  &lt;Files index.wsgi&gt;
  Order deny,allow
  Allow from all
  &lt;/Files&gt;
  &lt;/Directory&gt;
  
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Any help is as always, much appreciated.</p>