How to host 50 domains/sites with common Django code base
Posted
by Off Rhoden
on Stack Overflow
See other posts from Stack Overflow
or by Off Rhoden
Published on 2010-04-16T19:14:49Z
Indexed on
2010/04/16
19:23 UTC
Read the original article
Hit count: 252
I have 50 different websites that use the same layout and code base, but mostly non-overlapping data (regional support sites, not link farm). Is there a way to have a single installation of the code and run all 50 at the same time?
When I have a bug to fix (or deploy new feature), I want to deploy ONE time + 1 restart and be done with it.
Also:
Code needs to know what domain the request is coming to so the appropriate data is displayed.
© Stack Overflow or respective owner