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.

Shared database technique in general

Posted by HansBKK on May 30, 2008 at 3:17am

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 more

D5 Shared database - sharing all but theming/layout/navigation

Posted by HansBKK on May 28, 2008 at 1:02pm

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

Read more

another virtual domain issue

Posted by vyoumans on May 26, 2008 at 1:47am

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?

Read more

The Drupal Virtual Site module

Posted by vyoumans on May 26, 2008 at 1:44am

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

Read more

.

Posted by Z2222 on May 24, 2008 at 10:52pm

I'm having trouble setting up a second separate site - database tables need to get created somehow

Posted by rauld on May 23, 2008 at 2:56pm

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 more
4 comments Categories:

Problems with multi-site setup

Posted by edwindh on May 23, 2008 at 8:16am

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:

  1. Downloaded Drupal 6.2 and copied content to the root of my personal website. (Hosted on one.com)
  2. Run the Drupal setup. Point to correct database etc. No problems.
  3. My main site is now accessible. Everything OK here...
  4. Create different folders in Sites for the different subdomains. I created /sites/a.mysite.com, b.mysite.com, c.mysite.com.
Read more

Druapl 6 Install Profile love

Posted by Chris Charlton on May 20, 2008 at 8:00pm

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 more

Development, Staging and Production sites

Posted by aharon1 on May 15, 2008 at 9:49pm

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 more
Categories:

Multi-site Questions, how to

Posted by Dixen-gdo on May 15, 2008 at 2:22am

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 more

Hosting ideas?

Posted by bb37 on April 15, 2008 at 4:37pm

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 more

How to redirect from subdomain login page to main domain login page across multisite and shared user environment?

Posted by sid3000 on April 10, 2008 at 8:34pm

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.

Read more

Sendmail from Multisite (many domains, one core)

Posted by bramface on April 5, 2008 at 6:40pm

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 more
4 comments Categories:

New user registration approved by non-admin

Posted by nattyweb on March 31, 2008 at 6:13pm

[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 more

Long URL's for Multisite files folder

Posted by gtrusler on March 28, 2008 at 5:34am

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

Read more
20 comments Categories:

Drupal themes survey

Posted by mcp-gdo on March 26, 2008 at 9:02pm

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

Read more
Categories: , , ,

Development & Production Sites with Database Prefixes

Posted by gcassie on March 25, 2008 at 1:59pm

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 more

Problem in restricting access to subdomains in multi-site

Posted by nattyweb on March 20, 2008 at 10:24pm

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 more

Virtual Sites module

Posted by christefano on March 20, 2008 at 9:57pm

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 more

Easy problem? Easy Solution for multisite?

Posted by aharon1 on March 18, 2008 at 5:18pm

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
2 comments Categories:
Categories:
Subscribe with RSS Syndicate content

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /