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.

4
  • 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 Commented Jul 8, 2012 at 12:16
  • I recommend you stump up for 'real' hosting if you want to write 'real' web apps. Commented Jul 9, 2012 at 0:06
  • Where are you sharing your hosting from? Commented Jul 9, 2012 at 0:28
  • Did you tried this tuto? 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? Commented Feb 7, 2016 at 1:53

2 Answers 2

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 :)

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.