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.

matslats's picture

Understanding multisite

There are so many different understandings of multisite, and so many different solutions with configuration options, that I wonder if we might make a way of quickly describing them. As I see it multi-site solutions differ mainly on what is shared between sites, and what is unique. Therefore, here is a rough first cut of shared / unique features against a range of solutions. I don't know enough to fill in the boxes - I'm only suggesting a way of notating here.

Read more
thaironius's picture

Multisite on a LAMP

Hi,

I've been trying for the past week to create a multisite on a LAMP with no luck. My objective is to add new sites to my existing Drupal code base that have their own database.

My multisite set up is as follows:

Drupal is installed in /var/www/html/. This directory contains the core directories (e.g. files. modules, includes, and sites).

In "sites", there are the directories "all", "default", and "mysite.com", which is the new site I'm adding.

Read more
hisoc8y's picture

Multisite, different domains, single database/content but seperate on domains

Hi

this is my objective:

to have a single drupal installation, and i have 3 domains www.domain1.com, www.domain2.com, www.domain3.com

I want to have one database, that is, all my content is entered from the main drupal site, but i want to assign each content to a single domain or multiple domains

how can i achieve this?

thanks

im running 5.7

Read more
dejb's picture

Multisite for Content Separation

OK I've spent hours reading through the various shared database multisite options including TAC, multi-domain, OG, Domain-access and a number of others. Many of them seem to be very much concerned with access control for a community of logged-in users. One thing I'm not seeing clearly is the ability of a solution that allows a good old fashioned Web 1.0 webmaster to control exactly what content goes to which site.

By this I mean that for a casual visitors, google bots, etc
- Story A is on site1.com
- Story B is on site2.com
- Story C is on site1.com and site site2.com

Read more
alexanderpas's picture

Important: setting site_name or site_mail override variable will break first installation.

Setting the site_name or site_mail override variable will break installation when no user table is present, because it'll prevent you from creating the first administrator account.

related bug report: http://drupal.org/node/212284

you will need to put site_name and site_mail in comments during installation.

Read more
0000@drupalchina.org-gdo's picture

Cannot enable or disable modules in each site created by multisite module

Hi everybody,
I set up a drupal 5.6 and add the multisite module for creating many sites for my company. as we don't want to deploy the codes again and again for a simple CMS site.

My problem is I cannot enable or disable modules for the created sites.
Should I place the modules in the DIR sites/all/modules or just in the modules directory? --- I tryed this but nothing differents

I followed this guide: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/multisite_manager/INSTALL.txt?pathrev=HEAD&view=markup
and it seems to works well. what I did just as this:

Read more
jbc's picture

multisite under windows XP: just can't get over the final hurdle...

Attempting to instal a multisite of Drupal 6, but keep failing at the last hurdle. Help would be so greatly appreciated. This is the second time I've come this far and I don't want to give up again!

Read more
john.freebury's picture

TAC as multisite solution -- groups and domains as roles, using roles.

There's a new tutorial at http://drupal.org/node/200631 which is a different approach to Taxonomy Access Control than I have seen, a very different approach to Groups (as a concept), and multiple Domains (hence a multisite solution). I am trying to discern what is going on with og, mulltisite, domain access, and TAC generally.

Read more
slayerment's picture

Q: Is it possible to run one Drupal install across different servers?

I currently am running about 10 domains all on one server using the multisite.

I am looking to scale out to a new server and was wondering if it is possible to somehow use the same Drupal information on this new server.

The best I have come up with is sharing the database and then copying all the Drupal files to the new server but it still bothers me because I will now have to update modules on both servers.

Is there anyway to sync the 2 servers or have one Drupal install or anything? Perhaps some type of XML-RPC solution?

Read more
skizzo's picture

Any experience with multiple forums?

I am implementing multisite via Domain Access (single database, single settings.php, wildcard dns) and would like to support multiple Forums. Each site needs its own completely independent forum. Domain Prefix (a module in Domain Access) allows me to easily create/copy prefixed (core) tables/structures. My question is: in order to have independent forums...

  • which is the minimum set of core tables that needs to be duplicated for each site
  • is there any additional action (SQL statement) that is required to complete the setup?
Read more
Anonymous's picture

cvs best practice

I was needing some advise regarding CVS and file locations. I use 50-75 contributed modules on various sites.

What I'm curious about is how to best manage contributed products, e.g. modules, themes, installation profiles, languages, theme-engines, etc. (that may be about it).

I'm tempted to put the entire contributions repository in root/sites/all

[cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout contributions]

Read more
agentrickard's picture

Least permissions and node_access

OK, so I'm working on integrating Domain Access with OG.

Problem is, the current node_access system uses OR based permissions. What I really need is the option to set AND based permissions. For example:

-- Current node_access rules

return TRUE IF (og == TRUE) OR (Domain Access == TRUE);

-- Desired rules

return TRUE IF (og == TRUE) AND (Domain Access == TRUE);

See http://drupal.org/node/191375 for a full discussion and some possible options.

Read more
agentrickard's picture

Domain Access uninstall and update questions

OK, beta6 is out and the release is looking pretty good.

But I introduced the Domain Prefix module -- it creates a UI for dynamic table prefixing. So, for example, each of your subdomains can have a different watchdog table. The $db_prefix array is dynamically set on bootstrap.

Two big issues -- notwithstanding the lack of pgSQL support, which I'll get to shortly.

  • I have not found a way to run a function any time hook_uninstall() is run.
    Attempts to add a #submit handler using hook_form_alter() failed. As a resut
Read more
bigbman's picture

Multisite and GoDaddy

Thought this would be a good chance to start a thread on using Multisite on a hosted GoDaddy server. Anyone had any experience with this?

I've got Drupal installed (using GoDaddy's installer) in a ./drupal folder, and my current domain points at the root.

www.mydomain.com/drupal - loads my default site just fine
www.mydomain.com/drupal/test - gives me a "page not found" from the default site

My "test" folder is in ./drupal/sites/www.mydomain.com.test (I've also tried other combinations, like www.mydomain.com.drupal.test).

Any ideas?

Read more
ChrisBryant's picture

Popular, high profile, high traffic Drupal sites for BADCAMP and Drupal.org

I'm cross posting this from here in case anyone else has any information to share: http://drupal.org/node/187464

Hi Fellow Drupalers,
I'm working on a session for BADCAMP (http://badcamp07.org) where we will walk through some cool, popular and high performance Drupal sites. The main focus here is high-profile, big companies, high traffic. What is the biggest and highest traffic Drupal site out there?

Read more
mkabot68's picture

Single or Multiple Databases?

As I look towards upgrading my Drupal 4.7 multisite with 400+ sites in it, I am questioning what is the best database structure to use. I should note that each of these sites is independant - they do not share tables at all. I am also using mySQL as the DB.

Right now the entire installation uses a single database with DB_PREFIX to seperate the tables by site.

Does anybody have any experience in this area they would care to share?

Read more
drupalista's picture

multisite, php evaluator and open_basedir

Hi, hope this is not the wrong place to ask...

I read through most of the multisite relevant info here and elsewhere, there are many interesting posts that help a lot getting familiar with that very interesting feature of Drupal.

However, I am stuck at the fact, that an Administrator of a site will always be able to post php as content for a node - I can not find a configuration item that would prevent this.

Read more
slayerment's picture

Q: Only search content on one site?

I have a multisite setup right now and it is sharing all the nodes in my DB. When I index the content from each one of my sites it indexes all the nodes, where I would rather it just index the nodes for that particular site. Is there a way to only index and display results for the current site?

Thanks,
Quinton

Read more
slayerment's picture

Q: Disable admin viewing of content on shared database

I am currently running a shared database set up for a few domains. I am sharing most of the core things like nodes, comments and taxonomy.

This works great and I am able to lock certain sites out of viewing content by using hook_db_rewrite_query().

The problem comes when viewing admin pages. For some reason it looks as though the admin pages do not rewrite their queries and as a result I am shown all the nodes in the database no matter what domain I am browsing from. The same things happens with comments and taxonomy and anything else that is shared.

Read more
agentrickard's picture

Domain Access

For a project, we just came up with another way to skin the multisite problem.

Domain Access is a node access module that enables multiple sites to be run from one installation.

The beta has been released.

See the module in action at http://skirt.com/map

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: