Deploy Django on Shared Hosting

Deploy Django on Shared Hosting


shared hosting for django

This video shows the step by step procedure for deploying a Django project on Shared Hosting.

Github Link to the Django project used in this video:

Blog Post about deploying django on shared hosting

Use Django 3.0 with postgresql database

Buy NameCheap shared hosting

Website:
Facebook:
Twitter:
Google+:
GitHub:
Hackerrank:
Stackoverflow:
Fiverr:
Email: [email protected]

This video is recorded using the Kazam, the open source screen recording software for Linux and edited using OpenShot for Linux which is also open source.
❤ for open soure

24 thoughts on “Deploy Django on Shared Hosting

  1. bro i follow your all steaps and getting this error please help and reply me

    ImportError: cannot import name find_spec

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):

    File "manage.py", line 21, in <module>

    main()

    File "manage.py", line 16, in main

    ) from exc

    ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget toactivate a virtual environment?

  2. Thanks you so much bro
    I really do appreciate God bless you with more wisdom and understanding
    You are really a friend in deed, for saving me from a 3days sleepless nights struggling to install mysqlclient need to run migration
    Thank God for providing you in time.

  3. Amazing job! This is the only tutorial on youtube that sufficiently helped me!! I did run into one extra problem though: READ THIS IF YOU CAN'T LOAD CSS: after a few hours of fiddling with things this ended up working: the way cpanel works, won't let you just connect static files from anywhere in the directory.. the static folder (containing static files) must be in public_html folder!!! to make this work, simply change to this in appname/settings.py: STATIC_URL: '/static/' , STATIC_ROOT: '/home/yourusername/public_html/static/'. then run this command whilst in the directory containing your manage.py: python manage.py collectstatic. Restart python app and that worked for me! Hope this helps someone

  4. i did the entire process as explined and finally in browser it is showing site not found . I am using dreamhost shared server. if i runserver from the terminal with port 8000 it is working but not working when i directly hit the url

  5. i follow the same process but except base url others are not working
    Not Found

    The requested URL was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Do you know any solution?

Leave a Reply

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