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.
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...
Read moreMulti-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...
Read moreDrush and Multisite
<
blockquote>EDIT: The below applies to Drush version 2. Drush 3's site aliasing makes life a lot easier, as there's a built-in alias which means "all sites." So running a command across all sites in a multisite is as easy as:
drush @sites <Drush command>You'll be interactively prompted on whether you really want to run the command on all your sites; to automatically skip this (for non-interactive cron run scripts, for example), add a -y flag to the command. For example, you can create a root crontab entry which looks like:
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>
Read moreGranular 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?
Read moreDrupal "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
Read moreAre 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 ?
Read moreDifferent 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?
Read moreLooking 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.
Read moreDrupal 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.
Read morevhost 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.
Read moreMultisites 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';
Read more"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...
Read moreMultiSite 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:
Read moreHow 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





