First time here? Check out the FAQ!

maintaining multiple sites

what is the best way to maintain multiple askbot instances on one server? isolated code & db or same code & db using django-sites? is the later possible to implement with the current status of askbot?

i know it may depend on the requirements but having a single db would have the additional advantage of building an aggregate site like StackExchange on top of all sites more easily.


omat's avatar
updated 2010-09-09 02:45:27 -0500, asked 2010-09-08 06:33:50 -0500
edit flag offensive 0 remove flag close merge delete


I think your question is more about deployment rather than maintenance.
Evgeny's avatar Evgeny (2010-09-08 11:49:24 -0500) edit
add a comment see more comments

1 Answer


To deploy multiple instances on the same machine - just install askbot (the app itself without the, etc) - in one place, e.g. in your site-packages, then create multiple deployments (with startforum script).

You do not need multiple copies of askbot code to run many sites on the same machine, but a separate copy for development - is a very good idea.

For multiple sites (each with their own domain) you'll have to use separate databases. In addition, there is no support at this time to run multiple forum instances on the same site (domain). That is you can have two forums and, but not (at least right now) and (you can of course have separately). Is this a significant limitation? What do you think?

Just my opinion - but I think it would be more interesting to develop the forum so that it can support many topics (Yahoo Answers is an example here) rather than have a separate forum for each topic (like Fog Creek does at their Stack Exchange).

From the technical standpoint, having a separate set of tables for each forum sounds like an overkill. Alternatively, you can have a "topic/forum" field in each row to accommodate multiple forums in one set of tables. Are you going to share tags or not? Sometimes you can have a question that fits more than one topic - then if you have separate forums it may become technically difficult to automatically share the question.

My preferred solution though is to use tags in a more advanced way to allow clustering of data into a smaller set of topics. For example there may be a hidden set of special tags, maintained by the moderators.

It would be nice to figure out a practical way to support topic segregation, maybe use some simple solution which can allow progressing towards a more evolved one in the future.

Evgeny's avatar
updated 2010-09-08 13:06:05 -0500, answered 2010-09-08 11:41:56 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments