How to Deploy a Django App on DirectAdmin Shared Hosting

Niamhrubi

New member
Joined
Oct 29, 2024
Messages
2
Hi everyone,
I recently purchased a shared hosting plan and want to deploy my Django app, but my hosting provider uses DirectAdmin as their control panel.

Unfortunately, Iam stuck at the default “web server is functioning normally” screen. After spending about 7 hours going through articles, tutorials, and documentation, I still haven’t made any progress.

Iam posting this in case anyone has encountered a similar issue or knows of a configuration step I might be missing. Iam also considering whether my local network setup, including my router and its IP address configuration, could be affecting my connection to the server.

If there’s a resource that could help me get unstuck, I would greatly appreciate it. I don’t typically raise issues without doing my research, so please know that I’ve tried many options already. Thank you!
 
And what did the support department of your hosting provider say? I've got a few directadmin servers running, but they're the classic php servers, they won't support running wsgi servers like gunicorn and such needed for Django. In my understanding directadmin doesn't support Django, but I might have been living under a rock for a while ;)
 
Hi ,

Thanks for your input! I reached out to my hosting provider's support department, and they confirmed that DirectAdmin primarily supports traditional PHP applications. Unfortunately, they don't have built-in support for WSGI servers like Gunicorn, which is needed for Django.

Given this limitation, I’m also thinking about how my current setup, including my router and IP address management, could affect my options. If anyone has experience with alternative hosting setups that could better accommodate Django or suggestions on optimizing IP address allocation with my router, I’d love to hear your thoughts!

Thanks!
 
DirectAdmin supports Nginx Unit server, which allows running Django apps.
 
Back
Top