|
I want to host multiple django sites on one apache instance. There is a very detailed howto tutorial in the old forum. But there are still a few issues I haven't understood: According to the tutorial, we should add a I think I don't understand how Webfaction serves a web request. What does Webfaction's web control panel do actually? Is it possible to pass over control panel settings by using apache's |
|
Hi, Once you've added the <virtualhost> setting in the control panel you need to add the domain(s) to the list of subdomains in the control panel. Adding the domain to the site record in the control panel will send the requests for your domain to that app. The control panel couples the DNS and domain with the configuration necessary to get it to your application. Incoming request -> Domain -> DNS lookups -> Your server -> Nginx (configuration file) -> Your Application. The control panel is what configures nginx to match your domains with your applications so you you still need it for some things. |
|
Hi, the old tutorial is no longer available in the old url. Can anyone post a copy in this thread? thanks, stefano The configuration directives you need are available here: Apache Virtual Hosts for Django Much of the rest of the original post was related to building Apache and mod_wsgi from source, which isn't really needed anymore |