I am trying to install Django on a 1and1 shared server but it is failing when I try to run the web server (manage.py runserver) because of my settings in my appname.fcgi found off the webroot and in my cgi-bin folder:
ImportError: Could not import settings 'appname.settings' (Is it on sys.path?): No module named settings
I have changed the value in my appname.fcgi file to be:
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
But the error message remains the same and the following article says to restart fcgi by using: touch yourdjangoapp.fcgi
Installing a Django app on 1and1 Linux shared hosting
But this doesn't seem to restart fcgi. Is there another way of restarting fcgi on a 1and1.com shared hosting server?