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.

Garrett Albright's picture

Different versions of Zen on multisite

Our Drupal sites are hosted on a multisite Drupal installation. Most of the sites use a Zen 1 subtheme and use Zen as installed in sites/all/themes. However, I've been using Zen 2 for new projects, putting the Zen 2 directory in sites/example.com/themes. This works well, but now I've got about ten different Zen 2 directories strewn about my Sites directory, which isn't good.

Read more
Ole Martin's picture

Shared database with prefix

I will now set up a large site with about 10 subdomain. I have decided to have all the pages independently, but would like to share some tables in the database. I only use a database with different prefix.
Main Site prefix -> kjel_
Subdomain prefix -> bas_, fot_ etc.
How do I fix this in settings.php?

I've never done this before, and have read many different posts, but hoping for a detailed answer that's easy to understand.

Has a post here, http://drupal.org/node/782680 , but think I just want to share some tables, because the sites will have different modules enabled.

Read more
Branndon's picture

Any reason NOT to use a multisite?

I am creating websites for businesses. I have experimented with multi site installs before. I have one domain website.com and have used that to host all the drupal code for a few other sites.

Anyway I want to know if there are any negatives for multi sites? I have tons of modules, I'd like to have every module to be available to new sites, and when I have to update those modules, only do it at the main site, not at 10 different drupal installations.

Thanks for your time.

Read more
armada's picture

Domain access and subdomains contact form, how to?

Hi all,
after spent many hours around google (and searching here too), I've not found any solution about the subject.
I've a drupal installation (6.16), domain access (6.x.22) and many other modules.
Here is the problem: I've to configure different contact form for each subdomain. I've tryed contact form module, but I've to create a lot of page for any contact and is not a good job for us.
Now, the question is: how can I implement individual contact form on every subdomain?
Any suggestions are welcome.

Read more
raintonr's picture

Separate cache/shared node tables on multi-site setup

Hi,

Sorry if this is an RTFM, but a quick search finds this thread:

http://groups.drupal.org/node/4247

Here and elsewhere it is recommended that cache* tables be kept separate for multi-site deployments.

Read more
kapeli80's picture

MultiSite setup with shared SSL certificates

I'm trying to get multisite working on a shared host with a shared ssl certificate. I can't figure out how to access the sites using an ip address. For instace if I want to access the site normally I'd just type in the domain of site2 and since its an addon domain I set the root to the main domain and drupal pops up. But how can I access domain2.com using https://111.1.111/~username format? This will take me to the main domain and not domain2 but that is how I access sites using the shared ssl provided by hostgator.

Read more
KerrySanto's picture

Multisites, Addon Domains and Cpanel on host account

Is there anyone with experience with setting up multisites as I am quite stuck, set up the main installation no problem, but having problems with trying to get it to work, have spent three days searching for information and and read most of the handbook entries on it and trying to keep up with all the comments to requests for help.

anyway if anyone could help me that would be great.

cheers

Read more
Broadlighter's picture

Confused about Multisite setup

Hi, I'm very new to Drupal and I'm learning how to set it up properly both on my localhost and on my web host.

As a customer at my webhost, I don't have access to files beyond my login directory, so I cannot access the httpd.conf file. I already have several domains with their own directories under the public_html folder, including the default domain.

Read more
tejaspmehta's picture

Is it possible to hide particular module or theme ?

Hello,

I have setup Multisite on my server. Now i have set my master site with one theme and i do not want my sub-site / child site that they can see this theme. Is it possible to hide particular module or theme which is set in all folders.

My directory structure is like following.

sites/
all/
themes/ (all themes are set in this folder)
modules/ (all modules are set in this folder)
site1.com/
settings.php
site2.com/
settings.php

If it is possible than please let it know.

Thank you.
Tejas Mehta.

Read more
clintthayer's picture

Multisite install in userdir

Hello All,

I recently installed Drupal in my userdir (~username) on an Apache server here at work. It's behaving how I'd expect, but what I want to do is configure it to handle multiple sites. This, however, has proven to be quite difficult.

So, let me give you all the layout of my file system... Within my userdir (/home/user/public_html) directory I have:
/drupal <= Full Drupal install
/drupal/sites/www.example.com.project1 <= A site with a fully configured settings.php file.
/project1 <= Symlinked to drupal

Read more
IncrediblyKenzi's picture

Resolving of Symlinks when installing modules?

I've got an interesting case here.

I've got a multisite installation that we're creating on Drupal6, for which we have the following structure:

  • sites/all -- shared modules
  • sites/mysite1 -- specific modules for this site
  • sites/example.com -- symlink to mysite1
  • sites/mydev.com -- symlink to mysite1

(names changed to protect the innocent)

Assume that example.com is the production domain, which we have no control over. mydev.com is our devleopment environment.

Read more
startd's picture

Multisite with Apache and Windows Server 2003

I am new to drupal and multisites and have a multisite that wont work. I have a base site that is drupal and is running great. Love drupal. That site is www.example.com. I want to create a subdomain called rosy.example.com. I followed the instructions on drupal.org/node/547860 . Let me give details of what I have and what I have done.

I am running a XAMPP install on a windows server 03 box.

I have the first drupal site for www.example.com installed to xampp/htdocs

Read more
kapeli80's picture

Multisite setup for cpanel .htacces no shared databases

I'm a multisite newb and have a little Drupal experience but haven't been able to figure out how multisite works with cpanel, directories etc. If i run off a single codebase does that mean i have to use pointers to get the domains to resolve correctly? I use hostgator and have a reseller account so only have .htaccess and no httpd.conf. I want to be able to:
1. have single code base of course
2. different databases users etc. (accept maybe same admin login if possible)

Read more
spicyguy's picture

Mutisite: Different IP Addreses, one Drupal Code base, different Databases, Unified User accesss, Single Sign on. Comments on Architecture and Recommondations, please!

Hi all,

I hope someone has had the same/similar architectural situation as mine and made it work!

Here is what I have / did:

I would like to create a content based sites like,

windows.development.com
linux.development.com
mac.development.com
etc.

I have different IP addresses for TLD (development.com) and subdomains (all sub domains have one IP address)

I installed Drupal with mutisite feature. Different Databases with one code base. Its working fine.

Here is what I am looking for:

I would like to have:

Read more
tejaspmehta's picture

SSO possible in multisites with different database ?

Hello Everyone,

I have found that with module of SSO (http://drupal.org/project/sso) one who has created login at master site can access all multisites. Now my problem is i have different database for all multisites and i want to make this type of single login to work for my specific websites with permissions.

like user1 can login to
master site
site1
site2

user2 can login to
master site
site2

Read more
tusharkanta's picture

Many primary domains and subdomains using domain access and single DB

I have a requirement of creating many primary domains (for instance, example.com, xyz.com etc) and many subdomains (like uk.example.com, us.example.com, uk.xyz.com, us.xyz.com) etc using a single database. Is it possible using domain access module and table sharing option in drupal 5 ?

Modules should be controlled based on primary domains. For example, I want to disable certain modules for example.com, but those modules might be enabled for xyz.com.

Thanks a lot for helping.

Read more
djmer1's picture

Multisite Config Hack

First, let me say I don't have access to httpd.conf just a user root and ./public_html
Looks like I mainly do this with .htaccess (whether hand written or done in cP seems the same).
I tried real hard to get different settings.php loaded. I use sub domains ie:

sub1.domain.com
sub2.domain.com
sub3.domain.com

point to the sub-folders
sub1
sub2
sub3

Here's my settings.php for each site:

sites/sub1.domain.com/settings.php
sites/sub2.domain.com/settings.php
sites/sub3.domain.com/settings/php

Read more
juliavdw's picture

Page not found intermittently on live site

Hopefully i am not repeating a question, but i have not found this same issue in my searches thus far.

The site in question is live, it is set up as multisite but we are only using one domain. Since everything worked well on my local installation and the testing server, I saw no reason to change the setup.

Read more
kairosmix's picture

Search not working properly Only First Word in a search is passed

I have a weird problem. I am using a multi-site installation. I inherited the setup and while I think the problem is in the setup, I am perplexed. The .htaccess file has 4 sites in the form:

RewriteCond %{SERVER_NAME} ^mysite.mysite1.domain.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ http://mysite.mysite1.domain.com/index.php?q=$1 [P,L,QSA]

I am using Virtual hosts and that conf is:

ServerName mysite.mysite1.domain.com

Read more
dru29's picture

The Alliance for Technology Access & Drupal

Are any Drupal community members also members of The Alliance for Technology Access?

I'd like to contact people regarding disability issues,
web access, and activism for the disabled.

Thanks for your interest.

==============

The Alliance for Technology Access
http://ataccess.org/

Web Access
http://ataccess.org/rresources/webaccess.html

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: