Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3237382
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:43:56+00:00 2026-05-17T17:43:56+00:00

I am looking for expert advice on how to best serve multiple sites with

  • 0

I am looking for expert advice on how to best serve multiple sites with one Drupal instance (using Pressflow 6.x). Let’s consider the company needing this is called "ABC Group of Companies" and it has 3 sister concerns. So, altogether there will be four sites:

  1. http://www.abcgroup.com
  2. http://www.company-a.com
  3. http://www.company-b.com
  4. http://www.company-c.com

Here are the things that are most interesting:

  • The users will be shared among all
    the sites
  • Each site will "mostly" host their own content (say the welcome text on home page, or menu items – different for each site)
  • Some contents, will be shown in all of the sites (say, a company-wide notice….or an employee directory)
  • The theme for each site will be different

Now, I am thinking of having DNS entry so each of the domain point to the same Drupal installation and when Drupal gets bootstrapped, I would like to sniff into the $_SERVER array to know which site is being hit. I’d then like to load the theme accordingly, show the contents specific to that site, and also show the contents that are shared with all the sites.

To make this happen, so far I have created a node type called "Site" and have created four contents for each of the sites. Then for each other content type (say, Page) I have put a node reference to the "Site" content type with multiple value so when creating a new content, the administrator can specify in which site that content will be showed. However, after that I am stuck.

I have tried to understand Contexts, Spaces, PURL – but haven’t figured them out fully yet. What do you think is the best approach to handle this scenario ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:43:57+00:00Added an answer on May 17, 2026 at 5:43 pm

    The way you are suggesting is certainly a way that you could do it, but have you considered domain access? I have used it in the past and found it to be very useful. there is also quite a large collection of modules which work with it. Different themes, Options as to which nodes should appear on which sites and shared users are all features that it has.

    Hope this helps!

    http://drupal.org/project/domain

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I not a DB expert, so am looking for advice for a web-based system
I am no PHP expert. I am looking for the PHP equivalent of isLetter()
Looking to do a bit of refactoring... Using NHibernate I have this query currently
Looking for a perl one-liner what will find all words with the next pattern:
I'm looking for advice on good options to deploy Java applications on end user
I'm looking for some advice. My boss is writing a series of lengthy articles.
I am using an expert system with an inference engine (forward chaining) and I
First of all, let me say that I am not looking for a GUI
I'm looking for sort of a 'best practice' way to tackle this common scenario.
I'm looking for advice on how to dynamically create content in flash based on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.