title: '404 Not Found. The requested url / was not found on this server' Django deployment with apache2
body: <p>I'm developing a django website and am currently working on deploying. I'm following <a href="https://www.youtube.com/watch?v=Sa_kQheCnds&amp;t=4080s" rel="nofollow noreferrer">this</a> tutorial. And im in the last stage of the tutorial (1:08:00 in the video). After he finished configuration th django-project.conf file he saves and everything is working, but me on the other hand, i get an:</p>
  <blockquote>
  <p>Not Found</p>
  <p>The requested URL / was not found on this server.</p>
  <p>Apache/2.4.34 (Ubuntu) Server at **** Port 80</p>
  </blockquote>
  <p>This is my projects .conf file:</p>
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName _
      Redirect 404 /
      Alias /static /home/user/project/static
      &lt;Directory /home/user/project/static&gt;
          Require all granted
      &lt;/Directory&gt;
      &lt;Directory /home/user/project/project&gt;
          &lt;Files wsgi.py&gt;
              Require all granted
          &lt;/Files&gt;
      &lt;/Directory&gt;
      WSGIScriptAlias / /home/user/project/project/wsgi.py
      WSGIDaemonProcess project_app python-path=/home/user/project python-home=/home/user/project/venv
      WSGIProcessGroup project_app
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>This is my <code>urls.py</code>:</p>
  <pre><code>from django.contrib import admin
  from django.urls import path, include
  from . import views
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('', views.homepage),
      path('rh/', views.rh, name=&quot;rh&quot;),
      path('gvt/', views.gvt, name=&quot;gvt&quot;),
      path('fth/', views.fth, name=&quot;fth&quot;),
      path('pages/', include('pages.urls')),
  ]
  </code></pre>
  <p>This is my <code>wsgi.py</code></p>
  <pre><code>from django.core.wsgi import get_wsgi_application
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'excelsite.settings')
  application = get_wsgi_application()
  
  sys.path.append('/home/alexholst/excelsite')
  </code></pre>
  <p>This is the <code>error.log</code>
  (Couldnt copy, so i have this screenshot instead)
  <a href="https://i.stack.imgur.com/I63hp.png" rel="nofollow noreferrer">here</a></p>