0

Okay so i have shared hosting so it means i have access to just about nothing so i'm having problems setting up my django application.

Looking at google searches there is a way to do it using a .htaccess and .wgsi file but I'm having no luck. My knowledge with anything like this is low as i normally use php.

So far i have added some code into the htaccess file and it always comes up with this error..

Not Found The requested URL /dispatch.wsgi/ was not found on this server.

Callum
  • 1,136
  • 3
  • 17
  • 43
  • Hard to tell without knowing what toolset is available to you. I've used Webfaction on a shared server, and just click add application in the control panel, and choose a Django version, and bingo - it's all done – Jon Clements Jul 08 '12 at 12:16
  • I recommend you stump up for 'real' hosting if you want to write 'real' web apps. – Joe Jul 09 '12 at 00:06
  • Where are you sharing your hosting from? – rh0dium Jul 09 '12 at 00:28
  • Did you tried [this tuto?](http://robhogg.me.uk/post/2) I tried and it works (with little touch ups). If you tried it and it didn't work, can you detail the error you got? – Psddp Feb 07 '16 at 01:53

2 Answers2

1

You should take a look at this :

In this section of django documentation they explain the how to :)

Running Django on a Shared-Hosting Provider with Apache Many shared-hosting providers don’t allow you to run your own server daemons or edit the httpd.conf file. In these cases, it’s still possible to run Django using Web server-spawned processes.

have a nice day :)

ucefkh
  • 2,509
  • 2
  • 22
  • 18
0

Do you have the dispatch.wsgi on the specific path? it should be somewhere like the public folder that serves your static files, like /public_html or /www.

I have used shared hosting for django from a small orange. I got mine working by following this tutorial of theirs, maybe working for you too.

Yulong
  • 1,529
  • 1
  • 17
  • 26