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.

paul_constantine's picture

Single signon without prefixing dbs?

Hello all,

I am runnung a small network of multilanguage Drupal 5.16 sites using a single codebase, separate databases and instead of sharing users across databases I use a seperate user database that is accessed by all websites. The user database contains the following tables (these tables were dropped from the other databases):

  • authmap
  • buddylist
  • buddylist_buddy_group
  • buddylist_groups
  • buddylist_pending_requests
  • facebook_status
  • privatmsg
  • privatmsg_archive
  • privatmsg_block_user
  • privatmsg_folder
  • sequences
  • sessions
  • userpoints
  • userpoints_txn
Read more
tsvenson's picture

Multisites and shared databases

Hi,

I am planning a multisite project where I want to be able to share users and some content between sites.

All sites will be more or less clones of each other, but they will have different target markets (countries mainly).

What I want to do is:

<

ul>

  • Use Drupal 6.x
  • Have one Drupal installation with many sites
  • Be able to quickly deploy a new site based on a master site
  • Multilingual support (using the Internationalization modules)
  • Share the user database between them
  • Read more
    Garrett Albright's picture

    Multi-site dashboard

    I've been doing more work with multi-site installations recently, both of the traditional and Domain Access kind. I've been thinking it might be worthwhile to hack together a "dashboard" module which could track the status of all sites in a multi-site installation on one page.

    Read more
    grawat's picture

    Moving from multiple databases to single database.

    I have a drupal multisite installation using drupal 6.10. At the moment each site has a separate database and some tables (those related to users) are shared. I would like to move all sites to a single database. For this I added a site specific prefix to all tables and moved them to the single database. And then made the necessary changes in settings.php . Things seem to be working but I read this comment http://drupal.org/node/147828#comment-826478 and it mentions something about Table 'sequences' and I can't find any such table.

    Read more
    drm's picture

    Not finding site-specific modules

    I've got a situation where the build/admin/modules list is not finding site-specific modules. The specific site is the original site in the setup and so the settings.php for this site is in site/default as well as site/www.specific.org. Initially the specific site didn't have its own site/specific.org folder because there were no other sites. Then I added other sites (which are working, but only use sites/all modules) and added some modules to the sites/www.specific.org folder and they aren't showing up.

    Read more
    no2e's picture

    Create one feed out of several Drupal feeds?

    I have a multi-site Drupal installation. Each multi-site is a subdomain of example.com (like ms1.example.com, ms2.example.com, etc.)

    Now, the homepage (http://example.com) is not run by Drupal, but I want to insert a feed, which consists of a mash-up of several selected feeds of the subsites. And this new feed shall not have the URL of a subsite, but the URL of the homepage (where no Drupal is installed).

    Example:

    the feeds

    • sub1.example.com/new-nodes.rss
    • sub2.example.com/feed.rss
    • sub3.example.com/blog.rss
    Read more
    haojiang's picture

    any modules could autoly create a new subsite? or script is ok

    I knew that if i follow the drupal's official "multisite install instruction" in "http://drupal.org/getting-started/6/install/multi-site" , i just have to copy folder "sites/default/" to "sites/subdomain.example.com/" and then copy default.setting.php to setting.php, then build a new empty database , i try this and success with a new subdoamin install.(windows , xampp).

    so , is there any modules help to adcomplish the above three steps with ease.

    script is ok too

    drupal 6

    Read more
    michaelbr's picture

    Problem with Actions table in a fresh D6-10 multisite install

    I've had some problem with my db, so I did a fresh D6-10 multisite install on a shared hosting server. I've just installed some contributed modules (pathauto, nodework, page title, global redirect, webform, etc.), then I just did a db export and import again just to see if the db error was introduced by me or not, to my surprise I got the following error:
    Error

    SQL query:

    --

    -- Dumping data for table actions

    INSERT INTO actions ( aid , type , callback , parameters , description )
    VALUES (

    Read more
    FunkMonkey's picture

    Combine two databases so user tables can be shared?

    I have a multisite install setup using Drupal 6 using two separate databases. I kind of screwed up and didn't create one database using prefixes and a shared user table. And of course, we need that capability now. I think it should be possible to do exports and imports to get that working. However, I'm not terribly familiar with MySQL and I'm quite nervous I will butcher the whole process. So...

    Is it possible to combine two databases and setup shared user tables?
    Is there anything I need to watch out for in attempting to do so?

    Read more
    mattmm's picture

    Is this outside the scope of multisite?

    I'm looking to configure:

    • 1 Drupal Base core
    • 1 Core of set modules
    • Under the core install many websites that have their own DB and possibly their own modules. I don't need them to share users or content.

    My assumption of what the directory tree might look like:

    Drupal_Base/
    -Sites/

                  --all/
                     ---modules/
                                ----views/
                                ----cck/
                      ---themes/
    
                 --abcxyz.com/
                                 ---modules/
    
    Read more
    calbasi's picture

    Multisite in diferent Cpanel accounts?

    I wonder if it is possible (or not) to do a multisite install, but without share the same cpanel (or host accounts)

    In other words, if you follow instructions like these (http://drupal.org/node/348619#comment-1265617), with parked or addon domains, you get a multisite drupal installation (great!), but if you want give all the owners of the domains a Cpanel account, you can NOT do it, because is the same Cpanel account (you can access it throw the diferent domains, but once inside Cpanel, you can manage all of them).

    Read more
    Anonymous's picture

    Share alias amongst multi-site

    Hi,

    first time I'm posting but I've a small problem.

    I'm running multisites which are sharing nodes, content_types, users and roles. I'm doing it just by sharing the tables on the same database.

    I'm using Autopath with the same config on each site to enable some "smart" aliases for each content type.

    I've a "static" content which is a content that is supposed to be used for static pages with one alias and that won't be dynamically used as a blog post or a news or an event.

    Read more
    no2e's picture

    Point additional domain to a sub-site

    I have a multi-site installation like

    • example.com/drupal (default)
    • site1.example.com
    • site2.example.com
    • site3.example.com

    example.org → site3.example.com

    Now, I have an additional domain example.org, which shall be used for site3.example.com. So, when a user enters example.org, he shall be redirected(?) internally(!) to site3.example.com. So, the user shall not see any redirection and he shall not be able to see, that the site is available at site3.example.com, too.

    site3.example.com → example.org

    Read more
    michaelbr's picture

    Advices needed in setting up multisite subdomain folders with cPanel

    My hosting server (Lunarpages) uses cPanel and I'm trying to setup 2 subdomains (sub1 & sub2), the problem is when cPanel creates a subdomain, it creates automatically a subfolder under the root (public_html), and if I would like to set the sub1 folder under public_html/sites, then they told me I have to change .htaccess file. I'm not that familiar with Linux/Unix, can someone tell me what's the pros/cons in doing that and which .htaccess I have to change. If it's not too much trouble, a sample will be awesome (I'm new to Drupal).

    Thanks for your suggestion/comment
    Michael

    Read more
    drm's picture

    Problem updating module details in system table when moving from sites/all to sites/specific

    I've got a multisite setup on D6.4. We had some modules that were in sites/all/modules but decided we wanted to isolate them in the main site, so I moved them to sites/specific_site/modules. But they dropped out of the modules list on admin/build/modules and the system table pathname was not updated. Even if I manually edit the pathname in the systems table, they do not show up. Move the modules back to sites/all/modules and they show up again.

    Read more
    btopro's picture

    E-Learning Infrastructure development with Drupal in a multisite configuration... anyone else out there?

    Just wanted to reference a post I made today about the infrastructure that I've recently setup to make our Drupal "stack" into a scalable e-learning architecture that supports self-site / course creation as well as pervasive user accounts and centralized user management (I can't think of any other buzz words at the moment :) ).

    https://elearning.psu.edu/projects/node/131 -- infrastructure / multi-site stuff

    https://elearning.psu.edu/projects/node/129 -- screencast / course manager module

    https://elearning.psu.edu/projects/node/130 -- outline designer

    Read more
    dishui's picture

    Multisite ? or other solutions

    I am considering using domain access module to do the following:

    I am building a mother site, with the domain name exmaple.com, and then in the future, my other partners might want to have the service of mysite, so I give them a copy of my site, without most of the content, except on one type of content(globalcontent), let's say that site is lovethisexample.com

    Read more
    aaront's picture

    Secure pages with multisite?

    I'm setting up a multisite setup (using separate databases for the sites, on the same server) and can't figure out the security problem. I need login pages, forms, etc, to be secure, which normally I'd use Secure Pages for.

    Problem is installing a site certificate that'll handle the different domains. It seems clear that SSL can only apply to one domain per IP address. As I understand it, TLS Extensions seem to take care of this problem, but is not supported in many common browsers so I can't go that route.

    Read more
    michaelbr's picture

    Moving from single to multisite; questions for Drupal 6

    I have a single site D6.8 setup on my local WAMP and ready to migrate to a hosting server using LAMP, my problem is I would like to change the configuration to multisite, I've installed D6.9 on my hosting server and did the following changes:
    - created 2 subfolders under /sites/ (/sites/domain1 and /sites/domain2 and removed the default folder as suggested)
    - uploaded my single site .css and graphics file into /site/domain1 (domain2 not ready yet)
    the configuration on my hosting server is:
    - cPanel with Apache, MySQL and PHP already installed
    - one single D6 core for multisite

    Read more
    gustavoiranzo's picture

    Linux multisite what it's wrong ? with clean url

    Linux drupal multisite what it's wrong ?

    I'm red
    http://drupal.org/node/138889
    http://www.drupalcoder.com/story/205-drupal-multisite-in-subfolders
    http://drupal.org/node/167639

    Iam want get multisite from subfolder in drupal,

    The installation is in intranet

    step

    en bind

    multisitio.localcasa. IN CNAME server21

    In apache

    /etc/apache/sites-avalaible/multisitio.conf

    cat /etc/apache2/sites-available/multisitios.conf

    ServerName multisitio
    ServerAdmin webmaster@localhost

    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: