Assuming your sites are independent of each other (not sharing a database), and that you're using the out-of-the-box fabfile for deployment, I've found that when this happens to me it's usually that either the ALLOWED_HOSTS setting is wrong, or I've forgotten to ensure that each site is using a different gunicorn port (check the value of GUNICORN_PORT in your FABRIC settings). Also, in this scenario, the SITE_ID setting can be the same for both sites.
HTH, Doug On Thursday, March 20, 2014 3:49:14 AM UTC-5, [email protected] wrote: > > I want to deploy multiple domains on a single linode box (bec.org.au and > bee.org.au) > > I have one all sites running separately fine. > > I 'fab deploy' one and it installs to the host well. > > I 'fab deploy' the next and the original site remains viable but the 'new' > site gives a Bad Request (400) message. > > Each site has a different site id in settings.py > > Changing the site id is the only thing that I have done to try to create a > multi-domain set up. > > Is that all that ought to need to be done or am I missing some steps? > > Thanks, > > Harry > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
