Deploying django app on cpanel

I have deployed a django app on cpanel in a subdomain backend.testsite.com. When I open the URL it shows the default page of django app, but when I try to open any other URL of the django server like backend.testsite.com/login then it is showing error

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster @ backend. testsite. com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

You need to look in the server logs to find the full traceback of the error.

And/or add something like Sentry which will show lots of info about errors Python | Sentry for Python

1 Like

Maybe you are having troubles with the dns configuration (?). Working with subdomain can be complex sometiems. As @philgyford was saying, you have to show us the full traceback of the error from the server logs.