Welcome to the Geeks & God Static Archive. Read more »

How do I setup subdomains that share content/users but have different themes in Drupal?

Joined: 06/05/2010

Hi, I really hope someone can help me with this. I will soon be undertaking the task of completely rebuilding my school districts website (using Drupal). I would really like to be able to have "separate" sites for each school, but share users, events, etc. across all sites. However I would like each site to be a variation of the others by having the theme display each schools colors when you go to it's site.
elementary.usd.com would have garland in blue and red
hs.usd.com would have garland in green and black
ms.usd.com would have garland in yellow and purple
district.usd.com would have garland in black and gray

Any suggestions? I've been looking at different subdomain options for weeks and haven't found something that works yet. I've setup the sym links for the sites, but when I change a theme on one, it changes on all.

-Brian Lewis-

Joined: 10/21/2010
Domain Access

Have you tried the domain access module

G&G Moderator
G&G Podcast Host
NonProfit's picture
Joined: 06/06/2007
Drupal multisite

Hey bjlewis2,

Look into Drupal Multisite: http://drupal.org/node/43816. You have several options, you could point to subdomains, or completely unique URLs. Some multisites simply share the Drupal code while others share content or users. Unique themes are no problem.

I've had a multisite setup for a few years and it's a really nice option. Review the link above, specifically Multisite setup using a single Drupal instance and let me know if you have any questions.



Joined: 11/02/2010
Domain Access

+1 for Domain Access.

I found that Domain Access give you flexibility to manage multiple site.

See these sites for discussion about this module:

Case Study: http://drupal.org/node/369398

Other alternative for multisite is
- Drupal Native Multisite
- Organic Groups

Cheers :)