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 the code. On Fri, 25 Oct 2024, 21:34 Lenny, <[email protected]> wrote: > 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 > https://geekydocs.com/blog/deploying-your-django-application-in-cpanel > and still get the error. Kindly help. > > -- > 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 [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/django-users/CAE1sx0K%3D3EGGEBN4FyZkb2N8z4eRsd478%3D%2BWSmDs%2Bvg%2BAm90dg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAE1sx0K%3D3EGGEBN4FyZkb2N8z4eRsd478%3D%2BWSmDs%2Bvg%2BAm90dg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOp5q4D1cj3B8Fnu%3DZqtbAkQr4oxzFsADo2iRPKccoCWidUPuQ%40mail.gmail.com.

