Multisite
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.
webservice module developer | Zum
Looking for a drupal guru who are well versed in module development in handling REST, XMLRPC calls to external api's. If you are familiar with facebook api, myspace api, or twitter api, it is a plus.
Work start in early July. Drupal version 6,
Multisite: shared users, some content shared, ...
I've used Drupal for 2 weeks. I read many articles about multisite but there is no article can make me satisfied.
I want to have a system:
- Multisite: a main site (mainsite.com) and many subsites (sub1.mainsite.com, sub2.mainsite.com, ...)
- All sites use one core Drupal
- Single sign on, user can sign in every sites to use resources (i'm want to use LDAP to manage users)
- Shared vocabulary and terms
- There are some contents appears all sites (but they can be only posted once)
- Using one or more database
- user's permission is different from sites
Should I share permissions?
Hello guys.
I will build 2 sites and I will use miltisite for this project. They are pretty much the same, they will use the same theme too. The only difference is that one of them will have BR language content and the other will have ENG language content. Each of them will have its own domain, so they need to be 2 different sites.
I've already decided to share user and session tables among them, so that anybody can register on any of them and once logged on one be logged on the other too.
Multisite Decision Flowchart
There is much confusion about when to use what "multisite" technique. Sometimes Organic Groups is a better solution that full blown sites, other times there are complex shared database tables in mind. This page is meant to help people make decisions about what Drupal "multisite" solution is best for them.
The best way to show this will be with an actual, graphical flow chart. Let's start by listing out some questions and answers, plus pros, cons, or gotchas with various modules.
Multisite with lots of shared, but specific data?
I need a stack of sites based on different sports with their own distinct URLs, but with shared codebase... some multisites sounds ideal. For example:
snowboard.blah.com
ski.blah.com
surf.blah.com
I'm after a little bit of advice on the best way to share data and probably more specifically on how to filter data. I've been trudging up the Drupal learning curve for a few months and have played with a test site, read and watched heaps, but I'm still a newbie (so use small words).
Best Practices for Multi Site usage.
I'm looking for some help with best-practices, and pointers to effective documentation to help me set up a multi-site install to help give student groups at the .edu I work at, a real effective web environment.
The messy way to do that is to just deploy a new drupal site any time someone wants a new student group website. But thats just asking for problems down the line with patching and management... I know how to do that, and, I know the minefield that presents when the many different student groups all want websites...
Multi-site weird behavior
Here's the way I set up the sites:
-
Installed Drupal 6.12 into mydomain.com/multisite
-
Created separate database for subsite1
-
Created directory multisite/sites/www.mydomain.com.subsite1
-
Copied settings.php to new directory, entered new database info, and uncommented the base url line and changed it to $base_url = 'http://www.mydomain.com/subsite1';
-
In SSH client, I navigated to home/myaccount/public_html and created symlink as follows:
ln -s multisite subsite1 -
In browser, went to mydomain.com/subsite1/install.php and installed without problem
Multisite Installations - Dev/stage workflow and folder naming
One thing I can't get my head around is how to set up the folder structure on my local development environment, then on a live host (eg sandbox stuff, site testing, demos etc).
Let's imagine on my local machine, with all the right virtual hosts set up as http://site1, http://site2, http://site3 etc, my drupal/sites folder would contain: drupal/sites/all, drupal/sites/default, drupal/sites/site1, drupal/sites/site2, drupal/sites/site3...
Drush and Multisite
I recently experimented with the Aegir project. It didn't seem to work very well for us, though to be fair it may be due to our nonstandard server setup (FreeBSD instead of Linux; Lighttpd instead of Apache) than any fault with Aegir.
Anyway, installing Aegir meant I had to install Drush. I've been meaning to try Drush one of these days, but it never came about. Of course, now that I have, I'm wishing I would have tried it a long time ago!
What's the best way to structure a multi-country site (not just multi-language)?
What's the best options(s) to structure our multi-country site. The site probably wants to be managed off one installation, but it will be (in terms of thinking about it) country-based not language-based so for example:
www.example.com/ca/fr/widget/price would be in French with the price in CAN dollars
www.example.com/fr/fr/widget/price would be in French with the price in Euros
www.example.com/us/en/widget/price would be in English with the price in US dollars
www.example.com/gb/en/widget/price would be in English with the price in pounds etc
Multi-site, single codebase drupal 6 installation using prefixed tables to share common data.
Hi there,
I'm attempting my first multi-site, single codebase drupal 6 installation using prefixed tables to share common data.
Background
Looking from the outside, I think the best way to explain my reasoning for this configuration is going to be module management, and to ease the development of the core facilities the site(s) will offer.
I'm attempting to split the rather large modules apart so I end up with subdomains offering the features the users require, here is the basic layout.
<
ol>
Granular site access for multisite installations
Is it possible to have granular access for multisite installations.
Consider the following setup:
A portal site called, for example - mypets.com
with the following subdomains(multisites) - cats.mypets.com, dogs.mypets.com, turtles.mypets.com
Assuming all users are registered with mypets.com, would it possible for admins to then grant access to subdomains?
Drupal "Page not found" in XAMPP Windows Multisite Installation
1:33 AM 05-May-09
My system:
XP Home SP3
XAMPP 1.7.1
Drupal 6.11
The chronology as follows:
-
After installing XAMPPP, I installed Drupal 6.11 core as usual and settings.php URL is http://localhost/drupal6.
-
I was able to login/out with no problem from the abv URL.
-
Created new folders under /sites and changed settings.php to show up at these URLs:
http://ecomm.drupal6.localhost
http://ubercart.drupal6.localhost
http://test1.drupal6.localhost
http://test2.drupal6.localhost
- Added these lines in httpd-vhosts.conf
NameVirtualHost *:80
Are there any working multisite search modules ?
I have a multisite steup with multiple sub-domains and I would like to enable search across all multisites. I found two modules :
But, both of them don't work currently because of reasons mentioned here:
Are there any other search modules that will work with a multisite setup ?
Different robots.txt rules for each site
I want to disallow spider roaming on some of my sites. I've added a Disallow line with the full domain to the robots.txt file. When I use the syntax checker recommended in Drupal's default robots.txt, it gives me a warning, saying that some spiders prefer an internal path - no domain. But it also says that I have no error (just warnings).
What are folks experience? Will the main search engine bots pay attention to the domain paths?
Looking for Shared Roles, Shared Permissions but users restricted to own site.
Hi,
I have a multisite set-up, using the LDAP module for authenticating users (which means that all my users can log in to all sites). What I would like to happen is that each site inherits an "Editor" role when set up, with my list of standardised permissions. I can update the permissions in one place & this will affect the "Editor" role on each site.
What I don't want to happen is for a User to keep this role across sites - If you are in the Editor role in Subsite1, you shouldn't have the role in Subsite2, unless it is subsequently assigned to you.
Drupal Multisite on Media Temple Dedicated-Virtual 3.5 (dv Base)
Hi,
I recently purchased a server from media temple (dv) and am planning on going the multisite route with Drupal for two sites I currently own (let's just name them abc.com & xyz.com). Now, I've read some articles on how to do this and on a theoretical level, I kind of understand but most of the articles seem to focus on shared hosting like dreamhost, MT grid server, etc.
vhost setup for multiple subdomains ?
Could someone please explain how to setup via vhosts (or symlink) multiple sub-domains to point to the same domain.I had my sites setup under a shared host so until now I had to create a sub-domain and park that on the main domain. However, I have now moved to a VPS and I was trying to follow this tutorial but http://drupal.org/node/111238 to setup vhost but its not clear to me if this will work for all sub-domains or I do I have a create a file every time I need a sub-domain to point to the main domain. Would appreciate any help.
Multisites basic - Shared drupal, individual DB
Hey
I am setting up my first multisite and I can't seem to get started??? I do not operate a server. I am hosted in town!
1) I have my Drupal running as a standalone site
www.mysite.com
2) I created a subdomain for the new site
www.shop.sites.mysite.com
3) I created a DB for the new site
4) I copied settings.php to the root of the new site
www.shop.mysite.com/settings.php
5) settings.php setup in the new site
DB
$db_url = 'mysqli://myuser:mypass@mysql.host.dk:3306/db_name';
$db_prefix = '';
$base_url = 'http://www.shop.sites.mysite.com';
"Page not found" on some pages
Hi, i have meny drupal installation on multisite. Everythings fine except one. I have problem with "page not found", but these pages exists... Its strange sometimes everythig is good another time is not.
Please have a look at www.dobrapraktykazeglarska.pl and go to some sub-pages. If you will observe the "page not found" issue and will know why it is, please tell me.
I am working on it for few days and I have no idea what couse this situation...
User-friendlyness and Poooling data | PESI-SNM at Copenhagen University
Multisite combinations are the final issue of our search-facility. We like to pool expert-data from 3-4 databases and merge another 3000 records of biologists data. Before doing that we need to make the facility as user-friendly as possible to attract their feeling of inclusiveness.
MultiSite on Mediatemple
Hello,
I have been trying to configure a drupal multisite on Mediatemples GridService. I've followed and read every doc I could find on the subject, and still no success.
I've done a basic drupal install. Then added a second site into the sites directory. I then tried to sym link this second domain to the drupal install using this in ssh:
ln -s ~/home/12345/domains/dev.example.com/html/sites/domain2.com html
Redirect Loop with second site
I have two domains I would like hosted off one install of drupal, domain1.com, domain2.com hosted on godaddy.com
I have installed drupal and have the first site up, however when trying to install the second site, domain2.com, I get a browser error saying "this page has a redirect loop, "The webpage at http://site.com/install.php has resulted in too many redirects".
I seem to get this error each timeI try to add a second domain.
Here are the steps I took
1.create new directory in 'sites' called 'domain2.com'
2.moved 'default.settings.php' into the folder and renamed it appropriately.
OpenDNS: Comments?
Any comments about OpenDNS?
OpenDNS
http://www.opendns.com/
About OpenDNS
http://www.opendns.com/about/overview/
OpenDNS Solutions
http://www.opendns.com/solutions/overview/
OpenDNS Customers
http://www.opendns.com/customers/featured/
Multi-site symlinks conflicting with sub-site path aliases
Hello,
So here is my problem, I created a multi-site installation of Drupal using a single source tree with 50+ sub-sites using symlinks for each. The problem I have is if I try to create a page alias on a sub-site that is the same as another symlink sub-site directory Drupal will not display the page. Instead Drupal will validate the URL as the first sub-site's home page.
Here is an example
1) I have a default site at:
www.example.com
2) I have two sub-sites
www.example.com/math
www.example.com/arts
If on the math sub-site I attempt to create a page using pathauto like so:
How do we: Check Download File Integrity?
What is the Linux command to check the file integrity of
the Drupal download file: .tar.gz?
Download: drupal-6.10.tar.gz
Size: 1.03 MB
md5_file hash: d8f222c260556b5d7c3ff41bdd251b3c
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
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>
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.
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.
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.
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
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
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 (
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?
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/
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).
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.
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
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
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.
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
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
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.
moving from sigle to multisite questions on D6
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
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
Multisite: Three sites, one database
Hi!
Due to hosting costs, I'd like to try having all of my clients three sites fitted in on database. How would I do this?
1. Through prefixing the tables?
Can I specify which tables belongs to which sites in one single database? I'd like to share the user and roles tables though.
Is this the way to achieve it?
Any insights on this would be appreciated! I'm a multisite first-timer, so I'm a bit lost in the worklflow for this..
Thanks!
DrupalNovice
Best way to duplicate a site (for multi-sites) ??
Howdy,
I'm still mostly a fledgling to Drupal, but I have a question that The Community might be able to help out with.
I'm setting up a multi-site Drupal installation to handle 72 divisional websites. The master-site has all the proper content, proper configurations, proper links/menus/blocks etc etc, and the other 72 are going to start off with an exact replica of that master site. That is, if i can figure out how to duplicate the master site over and over.
Change URL of a multi-site
Introduction
At the moment, there is a static website at foobar.example.com. I want to use Drupal (multi-site) to build a new site at this domain. But until it is finished, the static website shall stay.
Is it possible?
Can I create a multi-site at foobar2.example.com, build the site, and later rename the folder inside of sites from foobar2.example.com to foobar.example.com and change $base_url inside of the settings.php to the new domain? Anything else?
Best way to create a portal site with multiple subdomains?
I recently moved my one topic site to another domain. The domain is more general and allows me to write about more things instead of being pigeon holed into one topic.
So I moved my old site from http://www.oldsite.com to http://topic.newsite.com.
What I would like to do is allow each subdomain to be about one topic while the top domain would be a portal to show everything from all domains. Basically I want the subdomain extensions to not access anything from another subdomain but let all the content from the subdomains to "bleed" into the portal.












