Easy Hosting for Django + Channels + Daphe?

I added websockets to my website on my local machine, and then learned that my hosting site (pythonanywhere) offers only limit support for ASGI (Deploying ASGI sites on PythonAnywhere (beta) | PythonAnywhere help). I am a noob and was hoping for something better / easier.

Is there a hosting service that offers better support?

Welcome @kehannan !

<opinion>
Deploying Django is one of the most confusing things you’ll ever do with Django. Doing so with Channels is doubly-so.
</opinion>

I’m not aware of any “low-end” or “simple” hosting provider capable of handling a full Django/Async installation. (There may be some, but if so, I’m simply unaware of them.)

I have only done this type of deployment on a full server.

1 Like

I share your opinion. I will try to deploy a full server. Do you have any pointers on how to do that/guides?

There are numerous guides out there - it might just take a little bit to find one matching exactly what you want to do.

For example, one I found very helpful was an older version of How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu | DigitalOcean.

Once you know how to do a basic deployment, adding Channels isn’t that much more difficult.

1 Like