Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

431
Vistas
'404 Not Found. The requested url / was not found on this server' Django deployment with apache2

I'm developing a django website and am currently working on deploying. I'm following this 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:

Not Found

The requested URL / was not found on this server.

Apache/2.4.34 (Ubuntu) Server at **** Port 80

This is my projects .conf file:

<VirtualHost *:80>
    ServerName _
    Redirect 404 /
    Alias /static /home/user/project/static
    <Directory /home/user/project/static>
        Require all granted
    </Directory>
    <Directory /home/user/project/project>
        <Files wsgi.py>
            Require all granted
        </Files>
    </Directory>
    WSGIScriptAlias / /home/user/project/project/wsgi.py
    WSGIDaemonProcess project_app python-path=/home/user/project python-home=/home/user/project/venv
    WSGIProcessGroup project_app
</VirtualHost>

This is my urls.py:

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="rh"),
    path('gvt/', views.gvt, name="gvt"),
    path('fth/', views.fth, name="fth"),
    path('pages/', include('pages.urls')),
]

This is my wsgi.py

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')

This is the error.log (Couldnt copy, so i have this screenshot instead) here

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda