Jan 08, 2023
Today we will be deploying a Django Web App using Cpanel (Shared Hosting). I believe this should work on most hosting service providers that support CPanel, In my case I am using NameCheap Hosting.Here are the steps:
python manage.py findstatic admin/js/core.js
STATIC_ROOT = "/static/"
python manage.py collectstatic
Copy static folder and replace.
Must be on root
from mysite.wsgi import application
DEBUG = False
ALLOWED_HOSTS = ['python.kodewhiz.com', 'www.python.kodewhiz.com']
Please share this page to friends.
We have expertise in website designing & development, software solutions, mobile app development, e-commerce solutions and graphic designing. We transform your visions into reality by providing 24/7 services.