How to run Django on cpanel || django cpanel || how to || tutorial

How to run Django on cpanel || django cpanel || how to || tutorial

shared hosting for django

How to run Django on cpanel || django cpanel || how to || tutorial

how to run #django on #cpanel
this is tutorial video
many peaple may have faced this problem now i am solved step by step

setp by setp tutorial at blearningclub

Visit our main website:

first create python app
select environment and install django ( pip install django )
create django project ( django-admin startproject project )
edit passenger application to wsgi application
then in edit
select host name
then add media ,static file directory
like {
MEDIA_ROOT=’/home/*** user name***/public_html/media’


then create assets in directory of
then create media folder in public html

then goto terminal:
command: python collectstatic

then at last restart the server and run …….
music credits :
3am by Tokyo Music Walker
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream:
Music promoted by Audio Library

download and use copyright free music && i also used in this video:

email: [email protected]
thank you like subscribe share

30 thoughts on “How to run Django on cpanel || django cpanel || how to || tutorial

  1. I followed all the steps but when I checked my site it says something like 'resource not found on this server', I didn't see the rocket welcome page.

    then noticed that I set DEBUG=False. My Bad

    Thanks mate!

  2. Thank you for your helpful video. I m a newbie. I just bought shared server from bluehost company. There is no python in the software section of its cpanel. How can I install python in the bluehost's cpanel?

  3. there was an error after i used python collectstatic. can you help me?
    it shows some file and says "TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
    " and is showing error in this (STATICFILES_DIRS=[BASE_DIR +"/assets",])

  4. Every command I run on my terminal seems to work but I get "the server IP address could not be found DNS_PROBE_FINISHED_NXDOMAIN" when I check my subdomain. I have restarted the server, still the same.

  5. hey bro first off, thank you from Ukraine ! second off.. how did "404.shtml", "home.html" and "layout-styles.css" ended up in public_html directory ? I did not see you setting up the defaul folder for templates…

Leave a Reply

Your email address will not be published. Required fields are marked *