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.

yelgulwa's picture

User profiles in Multisite

Hi there,

I am planning to build a multisite architecture for my project. My need is to have different users and associated profiles across each site. I don't have prior experience working with multisite. What is the default behavior of having different databases? Could anyone tell me if this could be done?

Thanks in advance!
Swati.

Read more
billp44ruby's picture

Boost Module installation on Multisite and .htaccess files

I have a multi-site implementation of Drupal and I'm looking to implement the Boost module for all supported sites. Part of implementing Boost is updating the .htaccess file with Boost module generated config information.

I currently have a single .htaccess file in my /web directory via my hosting provider. But I've noticed in my Acquia Dev Desktop installation that there are .htaccess files in the site directories for all the sites I've created.

Read more
Summitt Dweller's picture

Apache Help with D6 vs. D7 Issue?

Glad to see a group exists for issues related to multisite. I love it, but it can be tricky at times. I posted my multisite question in another group before joining here. It concerns mixing Drupal 6 and 7 on the same server and controlling the default behavior of root domains which point there.

Please have a look at http://groups.drupal.org/node/240393 for the details.

Thanks.

Mark

Read more
superfedya's picture

Right way to create a mobile site

Hello,

Right now I just create a folder in /sites and put there settings.php with a mobile theme. It works. But how can I customize the modules/blocks?

Do I need to separate some DB tables for the modules and blocks?

Read more
aiphes's picture

No forms diplayed on multisite D6

hi

i've dumped multisite D6 install and part of websites have not fomrs displayed (webform,login,search..)
only 2 of 8 works well...

so i don't know where is the problem...perhaps on custom theme but could it be possible ?

thanks

Read more
dzigner's picture

install multisite drupal on 3rd party webhost

Hello all
I am trying to install drupal on my shared hosting plan. I have already successfully installed drupal 7.14 on my desktop windows server 2008 with IIS7. I plan to recreate the same site on the 3rd party webhost.
The hosting plan has the following:
1. Windows server 2008
2. IIS6
3. PHP 5.2.5
4. MySQL 5.0.91

I have setup my core drupal install at a subdomain http://dessites.des-us.com. It was working quite correctly, until suddenly, I get this error on browsing to the site:
Fatal error: Class 'PDO' not found in ........includes\database\database.inc on line 184

Read more
dynv's picture

Schema sample please

Hello,

First please excuse me if the answer was easily reachable but I've looked at the group first 5 preview pages and did a search on schema which yielded the same preview as default so I assumed it this was the default behavior when keywords failed to bring results.

Read more
NoahJ's picture

Multisite or Domain Access?

Here is the structure of the site I'm setting up. One primary (or default) site with complicated functionality - ubercart, and a host of other feature-providing modules. Four or five child/additional sites with much simpler functionality and independent content. So far this would clearly call for a multisite setup.

Read more
michee.lengronne's picture

Make one big site with multisite

Hello, my problem is that :

I want to do a single site but with approximatively 300 modules on it. My site has to do a lot of sites.
With this amount of modules we can't forget performance (and I don't want).
So, my idea was that:
In place of a big site, i create a lot of small sites communicating between them.

My ideas are:
To create these sites as subdirectories of the main site to avoid the login problems.
Of course, to share the users tables among these sites.
To use the module front to make redirects to the login page of the main site.

Read more
xtiansimon's picture

Where does the BUCK STOP when troublehsooting multisite installations?

I'm troubleshooting an issue with Views & Draggableviews modules for the past month--its driving me bonkers. Two of my installations on my multisite are not working and one is, except when it isn't--intermittently.

The big question is understanding where are these Views troubles are on the continuum from:

  • admin settings (conflicting modules, deps, individual site settings, mysql table issues),
  • module issues (buggy modules),
  • core/multisite issues.
Read more
Gletzer's picture

Best method for multi-site with 6 subscription websites

I am transferring about 6 subscription websites with seperate domains to drupal 7. Each domain site is fairly different on the type of content (content types) and structure but all are based around the same idea of selling content as subscription. In that sense they are very similar. I wish to use the same user base across all domains and will most definitely be using a fair amount of content across these sites. As I am new to drupal I have been beating myself on which multi-site method to use.

Read more
royhink's picture

Permission Errors with multi-site Install

I am trying to set up a Drupal 7 multisite install with SSO, sharing users from a shared_tables DB. For directions, I am following http://drupal.org/node/547862.

I am getting the following when I modify sites/site2/settings.php:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'royhink_drpl1'@'localhost' for table 'semaphore': SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of /home/royhink/public_html/drupal/includes/lock.inc).

The MOD looks like:

Read more
maniatox's picture

Multisite Drupal - Rendimiento, Configuración y Contenidos

Hola amigos,
Desde ya un gusto y gracias por estar ahí.

Estoy investigando sobre multisitios u otros metodos para un proyecto que comprende:
Un sitio central y varios sitios satélite que proveen de información a este sitio central.

E visto El modulo Domain Access y no me convence, es bueno pero no logro trabajar bien con el. Y por otro lado mi idea es que cada sitio satélite realmente tenga su propia estructura y no siempre debe ser similar a los otros.

Read more
royhink's picture

Managing Users, Permissions Across Subdomains

My project involves building several subscription sites, each with their own content and templates. A requirement is that a subscriber to site1.com can sign up for site2.com but not have access to site3.com. The user would need to use his same log in credentials at any site he is subscribed to.

I found the role login and subdomain modules. Anyone familliar with either of these?

I am new to Drupal and need to know if this is possible before I can proceed.

I would be using Drupal 7 on Hostgator / cPanel / Linux Cent / PHP5

Read more
royhink's picture

Multisite, 1 DB, Managing Login's, Easy Update, oh my!

I apologize for the long post.

I am trying to set up a multisite Drupal 7 install for a company that runs several websites from a set of common tables. I am new to Drupal, so before I dive in, I'd really like some feedback on how best to set up the files.

I am also hoping that a feature based description will help others looking to build a multisite install. The instructions I've seen online never seem to fit my needs.

I am on Hostgator's Linux/php5/MySQL/cPanel installing Drupal 7

Features I need:

Read more
tumbledown100's picture

Advice on multisite setup wanted

I'd really appreciate any thoughts on the best way to set up a multisite installation.

I currently have a live Drupal 7 multisite with about 35 sites on it and it will shortly grow a lot bigger.

At the moment I am using shared hosting without shell access, and when modules/core need updating, I have to download each separate database using phpmyadmin, upload each one to my local xampp copy site, update each site manually and then re-upload each database to the live site. Obviously this is really time-consuming.

Read more
7drupal's picture

users can build a site for thire own by a form without access host and database!!(auto multi_site!!!)

Hi
I've searched but not found !
Whether there are modules that allow users to create their own website similar wordpress multi site !
please guide me! thank you very much!

Read more
jnrfred's picture

How to redirect a user to a visited sub-domain on his next visit to main domain

I have a website say example.com with 5 sub-domains: site1.example.com, site2.example.com, site3.example.com, site4.example.com, and site5.example.com.

When users visit example.com, they are presented with the other 5 sub-domains to choose from. I want to implement something that redirect the users to the sub-domain they choose the first time they visit the main domain. I know I can use cookies for this, but how can I implement this in Drupal?

Read more
kread's picture

Languages with prefixes, separate database for each language

Hello to everyone.
I have one website with two languages:
English(default) - www.mysite.com
Russian(ru) - www.mysite.com/ru

How to use separate database for each language?
For english i want to use mysite_en
for russian - mysite_ru.

I use Prefix translation.

I have tryed this stuff in template.php:
global $language;
$current_lang = $language->language;
if ($current_lang == 'en') $current_lang = 'default';
db_set_active($current_lang);

But it works only on website, not in admin page.

Read more
jcopperman's picture

Single site, single database, multiple organizations and users

Any solutions for multiple organizations?

The same content applies to everyone but contacts,events etc would not be shared.

Example:
Organization ABC with users 123
Organization XYZ with users 345

Organization ABC contacts etc are seperate from Org XYZ. In another example how could one allow a single drupal site with multiple roles and users have access to their own sets of CiviCRM Contacts?

An assumed solution would be the db tables for org ABC would be prefixed: abc_contact, xyz_contact

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:

Hot content this week