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.

pazzypunk's picture

Specific site modules showing up on main site page

I can't find an answer to this question, so maybe the community can help me.

I have a multi-site install. Custom modules enabled in my specific-site install are appearing on my main site.

I cannot see this modules in my admin/build/modules page of my main site, but i can see their code is running in the main site (specifically, they are running hook_link on the comments). I read this post and it appears that I have my multi-site setup done correctly. This is how my directories are structured:

Main site:

sites/all
--- themes/

Read more
vrajak@gmail.com's picture

Need Help with Multi-site on Media Temple DV server.

Hi, I've read all the comments/discussion (http://groups.drupal.org/node/21502#comment-295699) and have tried using the Domain alias through my Dv 3.5, but I can't get it to work. I just get a page not found display when entering my additional secondary site (The multisite) All is working fine for my primary domain, so no issue there.

I have:

Added a domain alias to my primary domain in Plesk.

Created and imported the database for my 2nd site

Hand edited the $db_url variable in the sites/example.com settings.php file, also with a unique user.

Read more
joyseeker's picture

Is this a Multisite problem?

I have a top domain and 4 subdomains running off the same code in my Multisite setup. I'm running 6.19 Drupal core that I upgraded last weekend.

In two of these subdomains, when I go into Administer/Blocks, I get a white screen and this message:

Fatal error: Cannot redeclare block_admin_display() (previously declared in /--mysite--/modules/comment/block/block.admin.inc:12) in /--mysite--/modules/block/block.admin.inc on line 23

It is strange because the top domain and the 2 other subdomains go into Blocks OK. If it's not a Multisite problem, is a Drupal code problem?

Read more
Vidus's picture

Mutli-Site and Apache Problems

Hi everyone,

I'm new to administering a group of sites my university runs for our professional writing program. We have a multi-site install for instructor courses, with two major folders containing sites. Each folder is a single install of Drupal, and has around 50 and 100 sites respectively.

We have VPS hosting through Liquidweb, and our Apache keeps getting bogged down and either restarting or needing restarting. Any ideas for optimizing the performance? I'm turning on caching on blocks, pages, optimizing CSS, etc, and hoping that helps, but the issue is troublesome.

Read more
transmitter's picture

Using Aegir and WordPress on one system?

Hi there,

I'm just wondering about this in the INSTALL.txt of provision:

the server must be reserved for
Aegir. Sharing the server with other control panels such as Cpanel, Plesk or
AlternC will very likely create problems and is not supported.

Can I run some WordPress installations on the same server (other vHosts of course)?

And I assume that wanting to have SysCP is not really wise in that case?

Thank you in advance
Bye, Transmitter

Read more
patcon's picture

Soliciting feedback for graphical Drupal promo video

Sorry if someone thinks I'm cross-posting too much, but I just wanted to get opinions from everyone who might have a stake in this :)

Alright, so I'm trying to think how I can do my part for this little community, and since I've got some degree of proficiency with Adobe Premiere and After Effects, I thought I might be able to put together a little video to explain exactly what Drupal is. I'm envisioning something with a catchy beat, and graphic/text elements -- no voice-overs. I'm in the really early stages of thinking about this, but I'm considering this picture to be my biggest influence right now as to the feel of the presentation:

Only local images are allowed.

(I really like the tetris-like style of it, and think that's something to work with!)

Read more
Ole Martin's picture

Users disapper - Multiple site

Several of my users disappear after some time. I'm use multiples site and no matter which site I or the users create account, they disappear after a while. I will be very gratefull for help with this.
Sharing database:

$db_prefix = array(
'default' => 'subdomain_',
'users' => 'maindomaine_',
'sessions' => 'maindomaine_',
'role' => 'maindomaine_',
'authmap' => 'maindomaine_',
);

Edit:
'maindomaine_' = shared tabels with "prefix" in same database. Read more
kinshuksunil's picture

Drupal Updates from OSI Days 2010 - Open Source Conference, Chennai - September 19-21, 2010

Conference Details - http://osidays.com
Drupal Sessions with Overview and details: http://osidays.com/tracks/60
Conference Registration - http://osidays.com/register-now

Shortlisted Sessions:

<

ul>

  • Building Powerful search in Drupal by Prajwala Manchikatla - http://osidays.com/proposal/building-powerful-search-drupal
  • Citizen Journalism on Drupal by Markus Franz - http://osidays.com/proposal/citizen-journalism-drupal
  • Drupal Theming (Workshop) by Marek Sotak - http://osidays.com/proposal/drupal-theming
  • Read more
    bobforthejob's picture

    Aegir and Subdomains/Domain Access (or can Aegir allow for single sign on with shared nodes?)

    TL;DR:
    Is there anyway to make Aegir and DA coexist happily?
    After reading and meditating on it more I guess the big question is can Aegir provide an environment where different sites can share signon's and nodes?

    Read more
    thelionkingraja's picture

    I wish to have subdomains for specific content types.

    Hello Everyone,

    I am having a site where i have installed OG(Organic Groups) module for managing groups.

    Each group created must have a subdomain like groupname.domainname.com ?

    I have a shared hosting, also i wish to do this in localhost.

    Please help me to do this.

    Thanks in advance.

    Read more
    deanloh's picture

    One script to trigger cron jobs on multi-site

    Looking for advice. I'm using the following script and set a cron to run it every hour. It's suppose to trigger cron job of all the sites I have set up on multisite. The list consists of couple of dozen of websites. I need to know, will this cause any problem to server load, especially when the list gets longer? Thanks in advance to any kind advice!

    <?php
    $cronUrl = 'http://%s/cron.php';
    error_reporting(E_ALL);
    $sites = array();
    $sites[] = 'mysite.com';
    $sites[] = '1.mysite.com';
    $sites[] = '2.mysite.com';
    $sites[] = '3.mysite.com';
    $sites[] = '4.mysite.com';
    // and so on...

    Read more
    skwashd's picture

    Efficiently Managing Many Drupal Sites - 3/4 Sep 2010, Bratislava - Cancelled

    Start: 
    2010-09-03 09:00 - 2010-09-04 17:00 Europe/Bratislava
    Organizers: 
    Event type: 
    Training (free or commercial)

    Dave Hall Consulting has teamed up with with Sven Creative to present an intensive 2 day workshop which teaches participants how to build, deploy and manage Drupal sites in a scalable way. Most sessions will involve an overview of a tool, then attendees will become familar with the tool by using it to complete a task. Time has been allocated to allow people to ask questions and share information about their own development workflows.

    Read more
    mariagwyn's picture

    Multisite Install: point main domain to drupal in subfolder

    I am sorry if this is a repeat, but I am having trouble finding information specific to my multisite setup.

    1. I am on a shared server, cpanel and shell access.
    2. I have drupal in a public_html/drupal6.
    3. All parked/sub domains point to this folder via symlinks, set up via shell access.

    This all works great, and means that I can easily upgrade drupal by overriding this folder.

    Read more
    skwashd's picture

    Horizontally Scaling Drupal Workshop - 7 Aug 2010

    Start: 
    2010-08-07 10:00 - 17:30 Australia/Victoria
    Organizers: 
    Event type: 
    Training (free or commercial)

    I have been developing a couple of workshops around the theme of scaling Drupal horizontally. As Drupal becomes more popular people have to manage an increasing number of sites. It is pretty easy to manage 5 or 10 sites, but how do you manage 200 or even 2000 sites? During these workshops I will demonstrate some of the tools and techniques that I used to build, deploy and manage almost 2100 production sites.

    Read more
    Sunshiney's picture

    Linux Gurus?: Linode Multisite Set-up Ubuntu 8.04

    So, I have set up multi-sites on two Windows boxes just fine (root access) and am now having a red flag go up as I work through setting up Apache2 on a Linode server slice I just got. I've installed Ubuntu 8.04 LTS and am now installing apache2 with a multisite configuration (one database per site/one code for all)

    Read more
    mhenning's picture

    DB settings for 250 sites on one machine

    I am looking to setup 250+ sites on one machine using a standard Drupal Multisite setup with one codebase. None of the sites gets many hits (no more than a thousand a day). They do have a fair amount of users with some sites having 1,000+ users. I was wondering if anyone had any experience with having that many sites and if there were any special configurations that needed to happen in MySQL 5.1 or Linux.

    Read more
    Al.D's picture

    multisite, partly shared tables (users), can I share only primary links ?

    Hello everyone!

    I have successfully set up drupal 6.17 multisite with single sign on module 6.x-1.0-rc1 by sharing tables in a separate database:

    authmap
    profile_fields
    profile_values
    role
    sessions
    users
    

    made possible by following settings.php add-ins:
    <?php
    $db_url = 'mysqli://user:password@localhost/drupal_site1';
    $db_prefix = array(
    'default' => '',
    'authmap' => 'drupal_shared_tables.',
    'profile_fields' => 'drupal_shared_tables.',
    'profile_values' => 'drupal_shared_tables.',
    'role' => 'drupal_shared_tables.',

    Read more
    SoCalCreations's picture

    Multi-site help

    I need some quick help from the group....regarding multi-site setup.

    Basically I want to run a copy of an existing site, but have it use its own mailchimp form.

    So here is the example. I built this site http://www.myreisystem.com and I want to create a sub-domains of this site as in
    http://user1.myreisystem.com
    http://user2.myreisystem.com
    http://user3.myreisystem.com
    etc...

    Each site would have it's own mailchimp form module to act with that users mailchimp account.

    Read more
    joyseeker's picture

    Views across Multisite?

    From what I find on drupal.org, Views does not work with external databases. I have a multisite setup but do not want to share the content tables, although I do want a View on the top domain across the subdomains' content.

    (I have a workaround by manually copying and pasting links to selected subdomains' content in a new content type on the top domain when I want to display a block on the top domain, but I will have to constantly maintain and update it.)

    Read more
    moreonion's picture

    Use multiple domain names in combination with multiple languages

    Hello everyone!

    I'm currently working on a site that uses multiple languages and for SEO purposes (and some other reasons) we want to use multiple domain names in combination with content translation

    So we're talking about a SINGLE website and ONE database:

    for an example www.dummydomain.com is supposed to point to the site in english
    www.dummydomain.de points to the SAME site only in german
    www.dummydomain.fr to the SAME site in french

    Now I'm wondering what creative solutions you guys come up with to achieve this.

    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: