I’m implementing a new site that will need domains like this:
newyork.foo.com, chicago.foo.com. Each of these domains will be a self
contained community. Locations is a table in the db. The user will be
to login to a specific Location and then add content to it. When a user
visits newyork.foo.com for example, I need to scope all the content to
specific location. new locations do not need to be created dynamically.
Can anyone recommend a good way of setting up this type of environment?
using Apache 2.2