Multisite

Events happening in the community are now at Drupal community events on www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

Hello and welcome.

I'm running several sites using Drupal's multisite feature, and noticed the absence of a group to discuss the various issues and how-tos related to doing this. If anyone has any questions about the basics, I can probably answer them. I'd also like to see some tutorials about more advanced stuff like sharing database tables.

MatthijsG's picture

Multisite running fine, but problem with shared theme's

Hi all,

I 've a multisite environment up&running. Every domain is in /sites/foo.bar1 etc.

The problem is this: i don't want that every site has his own theme in /sites/all/theme, because all the theme's are showing up at every site. So the solution is to put a theme in /sites/foo.bar/theme. But the only thing that is changing, is one css file. How can i put ONE theme in /sites/all/theme and redirect every site to look first in his own folder for a cssfile?

There's a 5.* module who can fix this, but i've 6.* http://drupal.org/project/sitecss

Read more
RTauson's picture

Redirecting a user to "his" subdomain after login

Hi !
Hope this isn't already posted in the forum, I've tried a couple of hours to find a solution.
I would like to do a multi-site install (either using "true" drupal multi-site or using domain ).

Would like to have a common subdomain that all users use to login, and then be redirected to their respective "home site".

For example the main sub domain would be
portal.example.com
All users should use that address and after log in be redirected to for example:
customer1.example.com

Read more
Etanol's picture

Drupal 6 Shared database setup - sharing everything but nodes/themes/navigation

I have found a very nice guide for D5: http://groups.drupal.org/node/11795 but I wonder if anything has changed for D6?

I am creating multisite installation. No logged users (except for article authors - about 10 of them). Everything shared, but the theme, navigation and nodes. No search. Exactly the same set of modules on each site (with different configuration thou). My question is:

What would be the minimum set of tables that would have to be separate? Or to put it another way: what can be shared?

Read more
samcohen's picture

shared login for a different kind of multi-site

Hi all,

I'm running a different kind of multi-site in that it's basically 6 domains parked on top of each other and I am using some simple logic with paths and taxonomy in the init hook to force specific domains for specific pages -- so far all is working great -- I'm even able to reset the site email and name in the init hook so that outgoing emails go from the correct address. (It's Drupal 5)

Read more
jamescarvin's picture

CPanel and Shared Virtual Hosting Limitations & Possibilities

My web host uses CPanel and I get 2 TB of space with unlimited domains for just $144/year. CPanel comes with Fantastico, which is the only way I've been able to get Drupal of any type working so far, but I can only install 6.2 that way because that is what Fantastico uses (at this time).

I would like to learn CMS and graduate from Dreamweaver so I can become a more valuable webmaster. But I seem to be caught up in installation SNAFUs and certainly need to upgrade and have the option to use other versions of Drupal.

Read more
bwv's picture

Email delivery discrepancy: Parent vs. subdomain

This was posted originally here >>>http://drupal.org/node/293930

But I realized belatedly that it might be better to address this to those with multisite experience.

I have drupal 6.3 installed and run about 20 other TLDs (site1.com, site2.com, etc., all folders located in the /sites directory) off that single installation. Everything works fine, with one exception.

I've noticed that the standard php mail functions (for user registration and webforms, for example) work for the parent installation, but uniformly do not work for the child subdomain installations.

Read more
robert.erbaron's picture

Multi-site on Linux - how to call on localhost install

Trying to set up multi-site on a Linux box through localhost. I've been through all of the posts here on groups, the "Creating multiple sites" page (but it's for Windows), and every other link that has to do with multi-site in Getting Started. Also searched the mailing list since BOY.

The "Mult domain/vhosts using diff databases" page (node 278) is what I'm looking for. It appears that I've set things up right, but I'm missing that last all-important step...

  1. I have drupal installed in /var/www/html/drupal-6.3, using a mysql database named 'aa'.
    http://localhost/drupal-6.3
Read more
timmillwood's picture

Shared search

I have a few Drupal sites running from one code base and one database. The tables currently shared are Authmap, profile_fields, profile_values, role, sessions, users and users_roles.

I want the search to search all of the sites, can this be done by just sharing the search tables or is it more complex.

Tim

Read more
samcohen's picture

Multisite that's really a single site with themes/domains question -- and consultant needed

Hi all,

A nonprofit client wants separate sites for each campus program they run. Each would have its own domain and its own theme.

But, it really needs to be the same database/site, because cck/views is going to be used intensively to do a lot of cross campus data gathering.

My thinking is to do a multi-site installation where each site uses the same database, and I park each domain over a subsites.

Or I'm wondering if it makes more sense to add some custom code that basically looks at the domain being used and then sets the theme based on it.

Read more
joeshirley's picture

How to most efficiently set up private client blogs using multisite?

I would like to set up private blogs for clients, each readable only by the client and myself. These blogs will be simple and identical, and far different from my main site installation. I'm running Drupal (6.3) on my top level domain (www.example.com). I've been reading for several hours, all kinds of solutions, and have settled on one which may work. I'd like to share my solution, and get your feedback and answers to a few points I'm not clear about. I'm not a Drupal noob, but I'm not exactly a programmer either, so simplest is best, as long as it gets the job done safely.

A. Will it work to set up a completely new installation of Drupal at clients.example.com, and set that up to run as a multisite without interfering with my main installation?

Read more
john.zhu's picture

ChinaOpen: Part 2 - Drupal Open-Training

Start: 
2008-07-15 09:30 GMT
Event type: 
User group meeting

Having launched ChinaOpen this saturday, we will be shifting from Adobe's Flex/AIR track into Drupal, from Tuesday July 15, 2008 on.

This is an "introduction to Drupal" type of training, detail as follows:

7月12日, ChinaOpen 第一站:adobe flex,详细请见 http://drupalchina.org/node/4782
从7月15日起, ChinaOpen 第二站: Drupal公开课程 ,
具体课程安排如下:

7月15 第一帧 Drupal 基础
将以drupal5.x版本讲述,暂定2008年7月15日上午9:30开始
主题:

  1. Drupal简介及基础概念
  2. 安装drupal(drupal5.8)
Read more
Mavros Gatos's picture

One database, one main installation (shared modules, themes) -> many websites on different domains

To say less words and to be more clear, I've made a scheme of system, that I want to create.

If you've already made the same system, please, share your knowledge, and describe, how you did it.
If you just know how to do it, sure you are welcome to write as well.

Only local images are allowed.

Read more
austinone's picture

Reinventing the Wheel?

I am looking to set up a number of related but individual sites. The sites will all be configured identically but will have their own users and content. However, on occasion some of the users and nodes will need to be shared.

Inspired by a Drupal-Dojo session on db_rewrite_sql I have started to write a module that does this:

  1. Relies on Drupal multisite functionality to share most tables but make cache and system tables site independent.
  2. Has three tables to keep track of which users/nodes/taxonomy terms are available for which sites.
Read more
digitaldoctor's picture

Multisite access module options

hello, i am new to both the group and drupal in general. Although i have been aware of drupal, i have not tried a serious installation of it beyond the core installation. I now have a project, that i would like to make a real attempt into integrating with the drupal universe. i plan on installing a drupal 6.2 installation on a unix server running, apache 2.2.9, php 5.2.6, mysql 5.0.51a.

Read more
thomas23's picture

Folder set-up needed for http://sublevel2.sublevel1.domain.tld/drupal/site1 to work?

Hi everyone.

I'm switching providers and have a temporal test domain at the new provider which is a subdomain of a subdomain:

sublevel2.sublevel1.domain.tld

It only gives me access to htdocs root folder on the server. So I need to add /drupal to actually get to drupal's core. What I'm aspiring is to test the drupal set-up at the new provider without having to do anything when the domains finally have been switched over, too (i.e. DNS is changed). In other words with a copy of the current folder sites/actual-domain.tld I would like to use

http://sublevel2.sublevel1.domain.tld/drupal/actual-domain1.tld/.

Read more
timmillwood's picture

Domain module

Is the Domain module (http://drupal.org/project/domain) worth using or should I manually create my multi sites?

Read more
Anonymous's picture

subdomains

I can get sub.domain.com and sub.sub.domain.com to work - no problem. I want domain.com/sub and domain.com/sub/sub.

Read more
bharanikumariyerphp's picture

menu sub menu

Dear

am creating custom menu and submenu(like parent and child)

This is the code am using.. u see in my table am having three content type, but three content type

Not displaying , last two only displaying..

I want to know the reason..

Where i Made the mistake....

Read more
seth97's picture

Multisite or theming on one site?

I am running a smaller community site with D5 and Organic Groups module. It is a closed site, so you have to be an authenticated user to see any content.

One of the OG groups want to have their group homepage public as an external web page. This external site should contain exactly the same content as their group homepage, but have its own theme and no user login.
In other words, if you are logged in to my community site the group should have the same theme as for the rest of the community, but if you are anonymous user and looks at this group you will see it with a specific external theme.

I have been thinking of two possible solutions for this:

Read more
Anonymous's picture

zone file, conf file, named file and mysite.com/site1

I run many sites off single core.

Here's what I've done to make multisite work pretty good:

  • Create mysql database with permissions
  • cd ../drupal/sites/
  • cp -R default/ newsite.com
  • chmod o+w /sites/newsite.com/
  • Add a zone file.
  • Add the new site to the conf file.
  • Add a ServerAlias in the vhost file.
  • Restart *named*
  • Direct my browser to newsite.com and run the install script ...

I can also add a new site to a subdomain(s) (site1.mysite.com and site2.site1.mysite.com) by adding "A" records to the mysite.com zone file.

Read more
Subscribe with RSS Syndicate content

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: