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.

drale01's picture

Shared tables between two SQL bases but with two different owners of databases?

Hi,

is it possible to make that?

For example:

$db_url = 'mysqli://user1:password@localhost/sqlbase1';
$db_prefix = array(
'default' => '',
'authmap' => 'shared_sqlbase2.',
'sessions'=> 'shared_sqlbase2.',
'users' => 'shared_sqlbase2.',
);

but shared_sqlbase2 has different owner and user1 has no privileges to shared_sqlbase2.

Is there any way to put user2 (with his password) who is owner of shared_sqlbase2 with full privileges?

Please help me..

Read more
Branden's picture

Don't Share Modules/Theme

Hi everyone,

I have sucessfully got Drupal running with multiple sites (using: sites/something.domain.tld, etc).

However, whenever I install a theme or module on one of the sites, they get added to: sites/all/*

Is there a way to stop this?

Thank you very much!

Branden

Read more
joyseeker's picture

Table limit with Bluehost

Bluehost is no longer a good host for Drupal, especially for multisites.

I just found out that Bluehost has limited the amount of mySQL tables per account to 1,000 tables. With Drupal that means that's a main site and 4 multisites and that's it. When I signed up a year and half ago, the limit was 3,000 tables.

So much for hosting Drupal at Bluehost. I'm looking into a Managed VPS host now.

Susan

Read more
superfedya's picture

BIG problem after migration to the delicated server

Hi,

I just migrated my 2 sites to delicated servers and I have a big problem with multisiting. When I empty the cache evrything is fine, but when I visit site 1 and 2, all the images and data (menu, not the nodes) are mixed!

Before I was with Bluehost and 2 domain (main domain and addon domain).
My Drupal was in /site directory and addon domain was fowarted to /site derectory directly.
Everything worked just fine.

Now I have a delicated server with virtual servers.

Virtual server 1:
SuexecUserGroup mysite1 mysite1
ServerName mysite1.com
ServerAdmin admin@mysite1.com

Read more
rovexo's picture

Multi-Site using Domain Module (D7) with Subfolders instead of Subdomains

Hello,

I need your help for a tricky use-case with the Domain Module:

I use D7 with Domain to create a site with multiple regional subsites (www.domain.com/germany, www.domain.com/austria, etc). A part of the content is shared, some other content is per-site and foreign content should not be seen nor be editable from another regional admin. Everything is multi-lingual, regional language and english. The domain module makes all this possible in a sleek way that almost made me wet my pants. There is just one problem:

I can define the domains using subdomains or actual domains:

Read more
tebb's picture

Drupal 7: Do I need to share the Sequences and Authmap tables to share Users between two separate installs?

Can anyone help with the following?

I have two installs (separate code, separate databases) of Drupal 7.

The shared users work even sign-on via http/https, the cookie domain, shared sessions (Sessions table), shared user database (Users table), but have two outstanding issues:

1) My installations of Drupal 7 have a Sequences table. I thought that this had been dropped in D6, but it seems to be back.

Questions:

a) What is it now used for?
b) Do I have to share it in Drupal 7? Why/Why not?

Read more
cdd23's picture

Combining two existing Drupal installs into a multisite setup

I'm trying to figure out how to move from my current configuration to a Drupal multisite configuration and would love any help or suggestions. I have done some searching in documentation but haven't found anything to address this issue.

Here's what I've got now:

<

dl>

mainsite.org
non-Drupal site that has ~30 html/php files, combined with simple PHP/MySQL managed content, i.e. calendar, announcements, upcoming events, links.

mainsite.org/drupal1-registrations
Read more
yogarenzi's picture

hosting multiple sites

Does anyone have experience hosting multiple drupal sites from one account? I need some help organizing them, and figuring out some google search issues.

Thanks!

-Renee

Read more
ymazigo's picture

multisite illustration

ymazigo's picture

my first multisite with shared users

here are steps for creating multisite with shared users that work for me please add any idea if you have

you must know how to setup vhost in apache

our domain for the site will be

http://example.com
http://site1.example.com
http://site2.example.com

  1. first install drupal normally (we will call the database for drupal installation drupaldb)

  2. after install drupal navigate to phpmyadmin or use mySQL gui tools and look for the database drupaldb (database you created previously )
    and look for these table

    'users' rename to 'shared_users',

Read more
amityweb's picture

Looking for an admin interface to create and manage sites? For non techies.

Is there such a module that allows a non-technical user to create a new site in the amdin interface, fill a few fields and hey presto its done?? I have searched and searched and cant find anything, which surprises me. Or is there no option than to use command line? My site admin is a non techy and will require an admin interface to create new sites.

Thanks!

Read more
emilianodelau's picture

Multisites – sharing data - need advice

I have multisites working. Now I think want to share data. The reason I may want to share data is that I would like to market products to all the users of these sites. Note that each site has its own brand and each have unique features (different data, different modules, etc.). There are only a few things that I would like to share.

These may be either:

1) Users so that I can send everyone emails from one core site,
2) or a shop catalog that sells a common set of products.

Read more
rogeriodec's picture

How could Drupal 6 and 7 live together in the same multisite environment?

I imagine this subject has been discussed endlessly, but unfortunately not found any solution yet.
I have a multisite environment in Drupal 6 working perfectly, but I want to start new sites now using Drupal 7, without converting the previous sites.
How would it be possible to have versions 6 and 7 in the same domain?

Read more
domineaux's picture

Do I need multi-site or some software tools?...

I currently have sites on Drupal 6.20

Each site is currently on a separate domain and content is managed by site owners.

I do this to avoid problems. I only do security fixes and upgrades after I complete a site.

I'm thinking I need some type of multi-site arrangment, but I'm not quite sure where to start.

All the sites are on one server, but some of the sites have high traffic.

Just cannot think sharing the Drupal modules across all those sites is best practice for me.

I don't think sharing the drupal core and addon modules would be satisifactory.

Read more
drale01's picture

Marketing multisite

Hi friends,

I want make multisite like this:

  • domain1.com should be site for afiliates. They will be educated there, registered... I'll use Ubercart Afiliates v2 module there. Afiliates would sell products from sites domain2.com, domain3.com,...
  • domain2.com should be site for shoping cart with marketplace for one type of products. I'll use Ubercart and ubercart marketplace modules
  • domain3.com should be site for shoping cart with marketplace for second type of products. I'll use Ubercart and ubercart marketplace modules

In time I'll make some more sites in same way.

Read more
ymazigo's picture

which is the best way?

hi
please can some one help me i want to create a website which content will be managed by different website within the same drupal core with multisite. example 4 site will be have different bunch of related content type and one site pull the content from other 4 site and if someone visit one of 4 site will get content of that site and other site.

Read more
msk2020ckp's picture

Multisites In Drupal

Plaese explain about multisites in drupal....this is very very urgent for me..So plz give some useful information.

Read more
joshdoesmusic's picture

Updates Not Working When Drupal is Configured in Subdirectory

I'm currently redirecting the home page of my site to the Drupal (7) site that I have set up in a subdirectory of my root. It appears that this configuration makes it difficult to run updates from the administrator UI (as opposed to manually updating via my CPanel file manager). I'm not terribly familiar with this kind of in-depth site configuration trouble shooting... Does anyone have suggestions as to what files (if any) need to be adjusted to allow Drupal to run as if it were in the root directory (thus avoiding problems like this in general).

Read more
dereckd's picture

When Is Multisites Advantages and When is it not

I'm currently in the process of developing a site that I though may be a candidate for a multisite configuration, but I'm not certain. Basically I will ultimately be creating a number of subsites based on geographic location (something in the realm of how craigslist does it). There will potentially be quite a few nodes. Since individuals will come to the site to view info specific to a location, I though for the sake of database size, it might make sense to split it up. I guise to cut to the chase, I'm wondering what the advantages are based on my critera.

Read more
r2b2's picture

Share Drupal users table using MySQL Views

Site1.com and Site2.com resides on the same server but each have their own databases. If I wanted to share the users table between these two sites for single sign on capability , can I just create a MySQL View of Site1.com's users table and store it Site2.com's users table ? I managed to create an update-able (non-drupal db, just for testing) View using :

create view users as select * from database1.users;

I haven't tried this yet in Drupal and I dont know what the implications will be. Is this possible?

Thanks!

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: