Re: Cpanel Upload

2024-10-27 Thread Lenny
Thanks alot for your help devs On Sun, 27 Oct 2024 at 21:39, maina patrick wrote: > To successfully host a Django website on cPanel and troubleshoot the 500 >> error occurring when DEBUG is set to False, here’s a comprehensive guide: >> Step 1: Prepare Django Project for Deployment >> >>1. >

Re: Cpanel Upload

2024-10-27 Thread maina patrick
> > To successfully host a Django website on cPanel and troubleshoot the 500 > error occurring when DEBUG is set to False, here’s a comprehensive guide: > Step 1: Prepare Django Project for Deployment > >1. > >*Settings Adjustment*: >- In your settings.py file, set DEBUG = False for pro

Re: Cpanel Upload

2024-10-25 Thread Aatish G Nair
So have you updated passenger_wsgi please connect to our django project WSGI On Fri, 25 Oct 2024, 23:50 Lenny, wrote: > Yes i tried all that but there seems to be no change. The cpanel is > provided by a hosting company so i have very limited access to the machine. > When i create a python app i

Re: Cpanel Upload

2024-10-25 Thread Habeeb Lasisi
Check this out. It should guide you better. https://pythonfusion.com/deploy-django-on-shared-hosting/ On Fri, 25 Oct 2024, 19:20 Lenny, wrote: > Yes i tried all that but there seems to be no change. The cpanel is > provided by a hosting company so i have very limited access to the machine. > Wh

Re: Cpanel Upload

2024-10-25 Thread Lenny
Would you have any advice on setting up with passenger_wsgi.py On Fri, 25 Oct 2024 at 19:17, Aatish G Nair wrote: > Yes, I’ve used cPanel deployments. A 500 error usually happens because > of: > > Please check allowed host , collect static > > WSGI Path kindly Ensure the WSGI file has the corr

Re: Cpanel Upload

2024-10-25 Thread Lenny
Yes i tried all that but there seems to be no change. The cpanel is provided by a hosting company so i have very limited access to the machine. When i create a python app it automatically generate a passenger_wsgi in the project folder. I tried following various tutorials online but they are limite

Re: Cpanel Upload

2024-10-25 Thread Aatish G Nair
Yes, I’ve used cPanel deployments. A 500 error usually happens because of: Please check allowed host , collect static WSGI Path kindly Ensure the WSGI file has the correct Django project path. Let me know if any of these solve it! If not please check with debug= true. Possible some error in th

Cpanel Upload

2024-10-25 Thread Lenny
Hey, any of you ever hosted a website on cpanel? If so what process did you use? I tried uploading the django website code, creating the python app and installing dependencies but the site seems not to run unless Debug is True. I get a server error 500 when Debug is False. I followed this tutorial