I followed the webfaction django tutorial video and created a django app/website to the root of my webfactional.com domain. These were the mappings for the website config:
All was working.
I then decided that I wanted to do other things with the webfactional.com domain and it would be better to have django in a subdirectory. I updated the mapping so that it would look like this. New mapping...which is not working perfectly...I think some times the URLs can't be resolved by django.
I updated settings.py and urls.py to reflect these change (I think correctly).
Now after I enter a new pastebin entry I see: "There is no application mounted at the root of this domain." THe url in the browser is "xxx.webfactional.com/3/" (it was the third record that I entered). If I manually add /django (xxx.webfactional.com/django/3/) then I see the record.
What am I missing? What else do I need to tweak? I'm just a beginner when it comes to python and django.
Django requires some changes to be made for it to work on a sub-url - please check the following directions on this subject: http://docs.webfaction.com/software/django/config.html#mounting-a-django-application-on-a-subpath
On a side note you can create subdomains under your webfactional.com domain which you can use to host multiple different applications and websites, while keeping each application mounted at the root URL.
answered Jan 23 '11 at 09:10