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.
Shared database technique in general
After investing a lot of time trying to figure out how to do multi-site via a shared database, I've come to the following (personal opinion) conclusion.
Just Say No
Reasons:
Read moreD5 Shared database - sharing all but theming/layout/navigation
Warning - I'm a noob, please be gentle
Here's a pretty much self-documented settings.php file showing how I've got my multi-site working. If someone familiar with Drupal's (v5) database structures could scan this and comment I'd really appreciate it. Note ALL the core tables are listed here, as per grepping "CREATE TABLE" from the .install files.
$db_prefix = array(
'default' => 'watchout_drupal.shb1sh_', /* new tables get created here, /
/ need to analyze and then add (shared or separate?) below /
'cache' => 'shb1sh_', / must be separate /
'cache_filter' => 'shb1sh_', / must be separate /
'cache_menu' => 'shb1sh_', / must be separate /
'cache_page' => 'shb1sh_', / must be separate /
'variable' => 'shb1sh_', / must be separate /
'accesslog' => 'shb1sh_', / site tracking - separate /
'client' => 'shb1sh_', / site tracking - separate /
'client_system' => 'shb1sh_', / site tracking - separate /
'flood' => 'shb1sh_', / site tracking - separate /
'watchdog' => 'shb1sh_', / site tracking - separate
another virtual domain issue
I want to keep this quesiton separate from this node: http://groups.drupal.org/node/11737
but I have an aditional question reguarding the virtual sites module.
what if I wanted to have the following:
www.domain1.com
site1.domain1.com
site2.domain1.com
site3.domain1.com
www.domain2.com
site4.domain2.com
site5.domain2.com
site6.domain2.com
so, is this something that virtual domains can handle?
is there a better way to do this?
The Drupal Virtual Site module
I am just starting a multisite drupal setup. My plan is to have some magazines with pretty much all the same functionality. even the themes will be the same with differnet images. I was looking at the drupal virtual site module, but have not tried playing with it. Its sounds pretty sexxy but I have not started playing yet. does anyone have any experience. This is a D6.2 project.
the link is here: http://drupal.org/project/virtual_site
Here is the sticking point... I want to have one code base, but the domains are separate...
www.domain1.com
www.domain2.com
www.domain3.com
I'm having trouble setting up a second separate site - database tables need to get created somehow
Hi all, first time post.
I have been using Drupal for my wife's business website for some time now and I really like it. I am running Drupal 6.2 on FreeBSD and I'm using Apache 2.2 as the web server and PostgreSQL as the db backend.
I am trying to setup a website for myself using Drupal with a separate database for my site. I created the appropriate folder under sites/ and copied the settings.php file. I created a new db and set that db name and password in the settings.php file. I also configured apache to handle the new virtual server.
Read moreProblems with multi-site setup
I looked again and again in different posts about the multisite setup, but I am unable to get them to work.
I want different subdomains using only one DB.
These are the steps I followed:
- Downloaded Drupal 6.2 and copied content to the root of my personal website. (Hosted on one.com)
- Run the Drupal setup. Point to correct database etc. No problems.
- My main site is now accessible. Everything OK here...
- Create different folders in Sites for the different subdomains. I created /sites/a.mysite.com, b.mysite.com, c.mysite.com.
Druapl 6 Install Profile love
I'm a fan Install Profile Generator modules and didn't see any pending patches for Drupal 6. Can someone please update me and the community on any of these projects being worked on for 6 or a new alternative?
I'm really looking to cut down my D6 installation time, like my 5.x days. :)
Read moreDevelopment, Staging and Production sites
Hi everyone, newbie here. I was able to multisite working. I only have one problem:
My customers have exisiting sites like lets say customer1.com and customer2.com
I want to migrate them, but be able to host them on my server (mydrupalserver.com) until they migrate thier hosting and site to my site.
I totally understand how to setup my box to read thier domain locally (With hosts files in windows), how would I set up a staging site so I can essentially move over thier .com
some issues I see:
Read moreMulti-site Questions, how to
Greetings,
I have been using drupal for more than a couple years now, but never used a multi-site set-up before. Recently a client expressed a desire for a setup that I think will be best served by a multi-site setup. Here's what I need:
http://example.com
http://example.com/site_i
http://example.com/site_ii
http://example.com/site_iii
http://example.com/site_iv
-> 5 sites total, each would have it's own content. Blocks, modules, etc would be the same from site to site (at this point in time), there may be a future need for different modules/etc.
Read moreHosting ideas?
Folks, I'm looking for some ideas.
I currently play "site admin" for four different web sites. They are all physically located in different web hosting accounts with the same web host. All of them are running Drupal. My role with all of them is to keep Drupal and the necessary modules and themes up-to-date and to establish the structure and functionality of the site. It's someone else's job to create and manage content using the tools that Drupal provides. All of these sites are for not-for-profit organizations and I'm not making any money from them...just covering expenses.
Read moreHow to redirect from subdomain login page to main domain login page across multisite and shared user environment?
Hi,
I have one main site (mydomain.com) and one members subsite (members.mydomain.com). In this case members.mydomain.com is master site but cookie domain in settings.php of master site (members.mydomain.com) is mydomain.com. And that works perfectly.
But I want user can signup/login through members.mydomain.com/user page, that mean if any user can click on mydomain.com/user link, it will be redirected into members.mydomain.com/user page with destination link.
Any idea, help or guidance appreciated.
Thanks.
sid.
Sendmail from Multisite (many domains, one core)
I'm new to this group.
We've been running a multi-site hosting environment for a few years - small sites, small traffic, so easy to maintain. One problem that we haven't solved yet is how to configure sendmail on the sites to send from the domain of each sub-site. Mail comes out with appropriated "from", but Sender is listed as the www user of our mail server.
Has anyone dealt with this issue?
Thanks,
Bram.
Read moreNew user registration approved by non-admin
[Copied across from the main forum, as I'm getting no replies there - this might be a better home]
I have set up a multi-site, and would like each separate site to have a nominated user that can approve new user requests, or create them, for their own (sub-)site.
Is this possible? I have searched for every relevant phrase I can think of but am getting nowhere.
Any suggestions where I might go for a solution, or a work-around?
Thanks in advance!
Read moreLong URL's for Multisite files folder
I have set up my first multisite installation and I have a question. I have parked a domain using CPanel onto my main domain and I have directories set up for each site in the sites folder. Here is what my sites directory looks like for the 2 domains:
sites/domain1.com/files
sites/domain1.com/modules
sites/domain1.com/templates
sites/domain1.com/tmp
sites/domain1.com/settings.php
sites/domain2.com/files
sites/domain2.com/modules
sites/domain2.com/templates
sites/domain2.com/tmp
sites/domain2.com/settings.php
Drupal themes survey
Hi everyone,
This is just a short prelaunch announcement for Drupal Themes. We have a annoucement list and short survey that you might be interested in. I"ll be sure to provide the survey results when Drupal Themes officially launches .
Thanks
Marcel
Development & Production Sites with Database Prefixes
I mentioned this at the last Boston meetup, and there was some interest so I though I would share. Running two sites off the same database and prefixing certain tables should allow for a simple dev/prod environment.
The idea is to isolate the configurations for the two different sites in two differently prefixed sets of tables, and allow all the content, users, taxonomy, etc. to mingle. To test this I've set up two subdomains, dev1.castlin.net and dev2.castlin.net. Here is the entry in settings.php for dev2 (dev1 is strikingly similar):
Read moreProblem in restricting access to subdomains in multi-site
I've just made my first Multi-site go live, with the first now live. It's defined using a subdomain structure, like site1.example.com and this works fine.
Read moreVirtual Sites module
Has anyone tried the Virtual Sites module? I'd be interested to hear a comparison between using this module and the various multisite techniques people are already using.
Read moreEasy problem? Easy Solution for multisite?
I believe I want to do something fairly simple......
I have multisite installed on my domain: www.mysite.com with sites running at customer1.mysite.com and customer2.mysite.com
I am hosting the content for my customer who has a domain registered as www.customer1.com. BTW, both of these are hosted on Godaddy.....
I am parking the domain www.customer1.com and sending doing a redirect over to customer1.mysite.com.
The site is fully functional, but all of the links still say "customer1.mysite.com".
Read more