How extensible can I make my installation in terms of sub domains and restricting membership to them?

So different domains (bigtown/school) point to the same forum but in different groups?