[Django]-Django on Strato webspace

1👍

The import doesn’t work because you haven’t set up the required environment variable. However, even if you managed to get the import working, Django deployment is a bit more involved than putting a script in your cgi-bin directory. You need to choose a method such as WSGI, or FastCGI, and configure your webserver (Apache/Nginx/etc).

You have three categories of hosts for deploying Django.

  • a shared web host that is Django friendly. I can thoroughly recommend djangohosting.ch, which I used until I started working for a web hosting company myself.
  • a VPS (this can be more tricky, because you have to manage more yourself, but you will have more flexibility and better performance that shared hosting)
  • a platform as a service (PaaS) such as ep.io or heroku.

Leave a comment