Deploy Django app using cpanel

41 views
Skip to first unread message

Eugene TUYIZERE

unread,
Jun 22, 2021, 7:10:58 AM6/22/21
to django...@googlegroups.com
Dear Team,

I have an issue. I want to make my app productive. I bought a domain and I got cpanel credentials. The problem I have now is that I do not know how I can configure the app in cpanel so that users can start browsing it. I tried to connect to the database and I loaded the application files. Is there someone who can tell me all the steps I need to follow to make the app accessible? for what I have done, I am getting this error message when browsing:
image.png

Please assist

--
Eugene


Eugene TUYIZERE

unread,
Jun 23, 2021, 4:55:03 AM6/23/21
to django...@googlegroups.com
please assist
--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene....@aims-cameroon.org
           eugenet...@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

Franck Tchouanga

unread,
Jun 23, 2021, 6:17:54 AM6/23/21
to Track django-users@googlegroups.com
Hello I can assist you what is the problem.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHt5TP8LK%2ByELRcC0sZwJ4WUTw7_PAp7%3DpsS%3DKTnG8zRNw%40mail.gmail.com.


--
Best Wishes

Mr Tchouanga

Eugene TUYIZERE

unread,
Jun 23, 2021, 6:38:41 AM6/23/21
to django...@googlegroups.com
Dear Franck,

The problem I have now is to configure the django app in cpanel so that users can browse it. As I said in previous email, I already have domain and cpanel credentials.

Kelvin Sajere

unread,
Jun 23, 2021, 1:14:11 PM6/23/21
to django...@googlegroups.com
I have a feeling the hosting company might have some input on how django is deployed on their shared Cpanel hosting, but in namecheap for instance, you would have to make sure you have imported the application in your wsgi, configured the media and static URLs and root to where you’d like them to be, and made sure your application is running in your terminal by trying to run python manage.py runserver, if there are any issues you’d know from there, turn debug to true in your settings.py file to see whatever is happening.

--
KeLLs

Franck Tchouanga

unread,
Jun 23, 2021, 1:37:27 PM6/23/21
to Track django-users@googlegroups.com

Julio Cojom

unread,
Jun 23, 2021, 2:52:48 PM6/23/21
to django...@googlegroups.com
cPanel it's a pain to deploy python applications, better change to a vps with digitalocean or something similar.



Eugene TUYIZERE

unread,
Jun 23, 2021, 3:54:45 PM6/23/21
to django...@googlegroups.com
Dear Jolio,

can you send me step by step to host to DigitalOcean?

regards, 

Kelvin Sajere

unread,
Jun 24, 2021, 3:14:27 PM6/24/21
to django...@googlegroups.com
Not everyone can afford a VPS. And hosting a django website isn’t at all difficult. I use shared cpanel hosting for hosting django websites often, and it is easy. You just need to do it once and you never have to worry about doing it again. You still have to know how to host on VPS right? Or is it done automatically with you having to do anything?

--
KeLLs
Reply all
Reply to author
Forward
0 new messages