title: Apache2 404 error for index.html
body: <p>I have an index.html file in <code>\var\www\html</code></p>
  
  <p>My /etc/apache2/sites-available/000-default.conf is:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  
          Servername &lt;redacted&gt;
  
          ServerAdmin webmaster@localhost
          DocumentRoot /var/www/html
  
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log 
      &lt;Directory /var/www/html&gt;
              AllowOverride All
      &lt;/Directory&gt;
  
    &lt;Location /alpha&gt;
       AuthType Basic
       AuthName "Restricted Access - Authenticate"
       AuthUserFile /etc/httpd/htpasswd.users
       Require valid-user
     &lt;/Location&gt;
  
     &lt;Location /UserControl&gt;
          AuthType Basic
          AuthName "Restricted Access - Authenticate"
          AuthUserFile /etc/httpd/htpasswd.users
          Require valid-user
     &lt;/Location&gt;
  
    Redirect /alpha /alpha/
    ProxyPass /alpha/ http://127.0.0.1:3838/alpha/
    ProxyPassReverse /alpha/ http://127.0.0.1:3838/alpha/
  
  
    WSGIDaemonProcess UserControl user=ubuntu group=ubuntu threads=5
    WSGIScriptAlias / /home/ubuntu/FlaskApps/UserControl/UserControl.wsgi
  
    &lt;Directory /home/ubuntu/FlaskApps/UserControl&gt;
              WSGIProcessGroup UserControl
              WSGIApplicationGroup %{GLOBAL}
              WSGIScriptReloading On
              Order deny,allow
              #Allow from all
              Require all Granted
     &lt;/Directory&gt;
  
  &lt;/VirtualHost&gt;
  
  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  </code></pre>
  
  <p>However, when I go to <a href="http://servername" rel="nofollow noreferrer">http://servername</a> all I get is a 404 error. The page is not found. I've started at this for a while now and have no idea why.</p>
  
  <p>For what it's worth, both <a href="http://myservername/alpha" rel="nofollow noreferrer">http://myservername/alpha</a> and <a href="http://myservername/UserControl" rel="nofollow noreferrer">http://myservername/UserControl</a> both work so apache is correctly working.</p>
  
  <p>Any help would be much appreciated.</p>