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.

nfg's picture

Greets.

Hey people. I'm currently working on a project where the client wants to be able to create a whole new drupal site from within drupal and not have to do any tedious setting up / configuration (ah, non-technical people...), so I found this group and figured it'd be a good place to go for advice as needed. :)

Read more
slayerment's picture

Q: Sharing The Sequences Table Is Ignored

I am creating a new multisite domain that is going to be sharing users and nodes.

Right now I have it set to where my sequences table is shared in my $db_prefix array.

Despite having this set up to where it should be sharing, the sequences table is automatically putting a new row in my sequence table with the new site name (site2).

Rather than just pulling menu_mid and incrementing off that it is creating a new row called site2_menu_mid and incrementing off that.

Is there a way to fix this?

Thanks,
Quinton

Read more
pcorbett's picture

Roles duplicated when role table shared

In my multisite setup, I am sharing the role table. My issue is that every time I install a new site, it adds anonymous and authenticated roles to the roles table. So, now I have several duplicate sets of these roles. Any one figure a way to fix this... or maybe it's something to be posted as a bug?

Read more
mjolley's picture

Glad to see some interest

I started this multisite group because it's a feature I use, and nobody was talking about it! Well, I've done my job of getting a conversation started, but I'm sorry for not watching this group.

I talk a little more about this at http://groups.drupal.org/node/2321#comments

Read more
Shadow's picture

Mutlisite setup on Windows 2003/IIS6 with Drupal 5

Hello everyone,

I've found plenty an article on setting up multiple sites with Drupal and windows but they all deal with Apache being the web server. What I need is how to do it with IIS6. My sites are going to use one data base but have different tables associated with the sites. If anyone has any insight on how to do this that would be great. If not then I will keep plugging away and if I come to a solution I will write it up for all to see.

Read more
pcorbett's picture

Undo Shared Table in Multisite

I have a multisite setup where I'd like to un-share a table. The table is authmap and I am getting db errors when the same username from separate sites logs in and has a different uid - it attempts to update the table entry for this user but errors because the uids don't match. I have the user table separate because I don't want a user with admin privs from one site to have the same privs on another.

Read more
Anonymous's picture

"Unable to select database" on all my sites (Please "Read more")

I'm running 10-12 websites in a "multisite" configuration; the same error on all websites. Try customdigitaldecals.com or crabsr.us

Everything was fine until this morning. I was experimenting with CVS yesterday, but didn't touch (as far as I knew) the code that ran the effected sites.

<

blockquote>Warning: mysqli_error() [function.mysqli-error]: invalid object or resource mysqli in /home/skirtcoa/public_html/includes/database.mysqli.inc on line 104

Read more
slayerment's picture

Q: How Would I Merge the Users from 10 Sites?

I am using a LAMP environment. I have around 10 sites all running off the same install of Drupal. Right now each one has its own unique database and users. I am looking to merge the users.

I am thinking if I were to somehow combine all the databases into 1 that would be pretty sloppy. It seems like having close to 1,000 tables in a database would be a bad thing, or would it be?

Read more
mjolley's picture

Not new to Drupal, art, or music, just this group

Hi all,

I just wanted to introduce myself. I've been an amateur musician for about 20 years and a professional programmer for about 10. I've been using Drupal for a year or so and have built a bunch of sites with it.

Now I'm building a site for my new band (I haven't been in a band since high school), and I've decided to do it with Drupal's multisite feature under a fresh install of a fresh domain. I'll be starting with some (or all) of the suggestions from http://groups.drupal.org/node/5167 and I'll try to report my findings here.

Read more
blixx's picture

Problem with login in multi-site

Hi,

I have set up a multisite configuration with separate databases, but now I'm unable to log in to my secondary site at site2.example.com. i can login to the admin section for the default install which is located at /drupal51, but when i try to log in for site2.example.com, i am redirected to example.com/?q=node. There is no drupal install there so i just shows me the directory listing. Any ideas?

max

Read more
jbc's picture

Multisite in WAMP environment

I've been trying to get a multi-site Drupal 5.1, within a localhost (WAMP) environment. I want to have a common code base, but entirely separate databases AND when I upload to a live (WWW) environment I want my clients to connect to their domain constantly, ie, clientsdomain.net/node/xyz, NOT mydomain.net/sites/myclientsdomain.net/node/xyz

Read more
cameronp's picture

Having trouble with Multi-site setup (taxonmy permissions access denied)

Hi There, I've just put my site live, where we use a main site, abc.com as our main drupal site.

so i got this up and running no problems.

for legal reasons, we need certian urls to come from another domain otherdomain.com when the user clicks on them.

So when i had my test site in a /drupal-5.0/ dir, i set up the symbolic link for my otherdomain.com
i set up otherdomain.com in the sites directory, and pointed it at the same database.

tested it out and everything worked fine.
Now on the live system - no such luck.

Read more
pcorbett's picture

Sharing the system table

I have a multi-site setup where I'd like to share the system table because I want any given module to be accessible to all other sites rather than installing it for each site. Drupal doesn't allow this because to determine if you've already set up a Drupal install, it checks to see if the system table already exists (install.php line 105). Does anyone know whether bypassing this check would cause any issues? Or, is it ridiculous for me to want such functionality?

Read more
enky's picture

how to share content among multi sites?

hi all,

how to share certain node types (like blogs) among multi sites, with same user information (user name, password)?

thanks
enky.

Read more
slayerment's picture

Q: Merge multiple site userbase into one userbase

I have about 5 main sites right now that are all running of one Drupal installation that each have their own database.

I am looking to merge the whole user side of things into just one shared userbase that is distributed across all my sites.

Does anybody have any experience or ideas on how I could merge the users from each of my sites into one table that will then control them all?

This seems like it could be challenging as each site has different UIDs and they are all connected to NIDs and probably lots of other stuff and I want to somehow get everything set up on one user table.

Read more
sanguis's picture

multipul users

ok so we have plenty of people who are able to do a multi site install of Drupal where they are the host and the developer, or don't have others working on the same site.  I have a situation where I have multipul users that should not have access to each others files and I don't want to have to create additional ftp accounts.

I am on a LAMP server and want to be able to offer my customers the option to have a 'one install to rule them all' set up, minimizing the time it takes to upgrade the system.  Drupal 5's overrides system works great for this.

Read more
alexanderpas's picture

Multisite Database Configuration Example

Okay, since i'm busy creating a fairly heavy multisite (W.I.P.) let me share some research i've done about shared database tables etc.

We're starting with a multisite that has different content on each site, but are using the same userbase for each site, we're operating from a single database
We're starting from the drupal core essentials perspective, meaning we start with no modules enabled besides drupal required core.

Read more
shrop's picture

New Multisite Module

I haven't tested this yet, but wanted to alert everyone of a new multisite related module. I just picked it up in my news reader from the Drupal new modules feed.

Check it out at: http://drupal.org/project/multisite_manager

Thanks,
Shrop

Read more
slayerment's picture

Q: Trying to figure out a smart way to approach multiple sites

In short, I am looking to achieve something like what CNET is doing with its entertainment sites such as www.gamespot.com, www.tv.com, www.mp3.com, etc.

I do not know much about servers so this is a big weakness of mine. What I would like to achieve is something that allows for all my sites to run from 1 set of modules and 1 database (if that's the smartest way to do it). I would actually prefer to have each site on its own database and then a separate database that shares all the user info while still using one codebase of modules and drupal core.

Read more
Anonymous's picture

multisite + WHM + PuTTY (with shell access)

I'm having a problem with the account creation process in WHM & the multisite configuration per the Drupal install instructions.

My cPanel/WHM history & Drupal:

<

ul>

  • Individual: lunarpages.com: cPanel, no WHM and no root access:
    I was with lunarpages.com for about 3 years, before developing with Drupal. I was purchasing independent hosting packages per account (I think it was around $10/mo if I paid annually.) This was my first exposure to cPanel (no WHM).
  • Shared: networkredux.com: WHM/cPanel, and no root access:
  • 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: