I am looking for expert advice on how to best serve multiple sites with a single Drupal instance (using Pressflow 6.x). Let's take a look at the fact that a company needs this, called the “ABC Group of Companies,” and it has 3 problems with its sister. So, there will be four sites in total:
- www.abcgroup.com
- www.company-a.com
- www.company-b.com
- www.company-c.com
Here is the most interesting:
- Users will be available to all users sites
- Each site will "mainly" post its own content (for example, welcome text on the home page or menu items - different for each site).
- Some content will be displayed on all sites (say, in the notification of the entire company .... or in the employee’s directory).
- The theme for each site will be different.
Now I’m thinking about a DNS record, so each of the domains points to the same Drupal installation, and when Drupal boots up, I would like to sniff the $ _SERVER array to find out which site hit. Then I would like to download the theme accordingly, show content specific to this site, and also show content that will be available for all sites.
, node "" . (, ) node "" , , . .
Contexts, Spaces, PURL - , , , . , ?
, - .
,
Emran