I have a project in Symfony2 that supports multiple domains and multiple pages per site all running on the same code base so that we can maintain a single code base.
I could pass all incoming requests to a 'domain controller' bundle and allow the controller determine what domain it is and include appropriate bundles for that domain, or is there a better way to approach this?