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.

dotman's picture

MAMP, localhost and multi-site

I'm really hoping someone can help me get this right. I'm using MAMP on OX 10.6, have D7 in the htdocs folder in a floder called "civi".

I added a site folder at sites/devmydomain.org, plus folders for themes, modules and files.

Added the site.php file and added this line: $sites['devmydomain.org'] = 'devmydomain.org';

I've tried editing my private/etc/hosts with several paths with no change. If I should add a line, what should it be based on the above?

What happens is I go to http://localhost/civi/devmydomain.org, but I get redirected to http://localhost/civi/install.php

Read more
DaneAU's picture

Users, Permissions Accross Subdomains

Hello,

Read more
Fiable.biz's picture

Accessing a site through a local network with no DNS

Hello.

Fiable.biz has a small local network with a router, all computers running with Linux, NFS installed (/var/www/ has been exported), and a local multisite installation of Drupal. Computers have private IP numbers. We don't have any D.N.S..
We can access from one computer to another computer non-Drupal site, through, let's say, http://192.168.1.10/site1 .
But for Drupal sites, it doesn't work. If I go to http://192.168.1.10/exemple, I just get the message:
"Not Found
The requested URL /exemple was not found on this server.

Read more
sgalindo88's picture

how to create a mini site inside the main site???

I am trying to setup a site that would have a file structure similar to the one used in http://www.poss.ca/en/
where I have my main domain and then sub folders for different sections of the site (ex. maindoimain.com/mainlink/section1/news and maindomain.com/mainlink/section2/news.
Do you of any place/website/blog anything really that might have some kind of tutorial of how to accomplish this?

Read more
zarrarnyc's picture

Best practice for Drupal multisite, Drush, Taxonomy management

With running multisites in Drupal, managing taxonomy across many sites becomes a very tedious task especially if there is constant taxonomy change. Drush http://drupal.org/project/drush is the best way to create new taxonomy and terms. So far, I am having issues with getting Drush to make this happen. What is the best way to set up Drush for multisite. Thanks.

Read more
jfmoore's picture

Multisite - Moving Drupal root directory down a level

I messed up and posted this on the Drupal forum when I should have posted it here--

Right now, I have a multisite configuration of Drupal 6 installed in:
public_html/drupal

and I would like to move it to:
public_html/drupal/drupal6_root

After I copy the files to the new location, what must be adjusted to reflect the change and recognize the new location?

Thanks.

Read more
socialtalker's picture

Drupal 7 multisites on vps

hello. this weekend, i am wiping Aegir off my VPS and starting over. I will be rebuilding my VPS. there are lots of things i am going to have to learn all over or rather learn better. i didnt need to learn about multisites. but now i need to do so. i am putting about 20 small sites on my vps, including a network of sites that will share at least some infomation. i want to do my sites in drupal 7. the network will be example
blue.com
white.com
green.com
red.com

Read more
JameyLaroche's picture

Do you need an .htaccess file to run a multisite

This is my first ever attempt at making a multisite, and before I started, the documentation made it seem pretty easy to do (I'm using Drupal 7).
We already have a working Drupal site, but we now want to make it a multisite. I've gone through the instructions a few times and it will not work for me.
(I am trying to make a multisite on the same domain: www.example.com/site1, www.example.com/site2...)

During the initial install, we had to remove the .htaccess file to allow Drupal to work on our server. Not sure why (this was before I started this position),

Read more
jfmoore's picture

What is this in my database?

I was cruising around in a copy of my site database that I downloaded, and I see a lot of the following statements. I was wondering what they are (this is not the entire statement, but enough to get the idea):

(45225, '11660fbac9791e664634c8180aba6363', '', 'node', 'http://www.google.com/imgres?imgurl=http://mysite.com/go/sites/mysite.com.go/files/mysite.com-admin/boo-yall-125x125.jpg&imgrefurl=http://mysite.com/go/&usg=__6YvXtH4e_3cVHiN1bjxwzMj246g

Read more
jfmoore's picture

What do you think about this suggestion?

In researching how to solve my problems in getting a true domain set up on my Drupal multisite installation, and "parked" vs "addon" domains, I came across this, and I was wondering what the group thinks about it, as far as how to set up the directory structure and its stated advantages:

"A more secure Drupal [multisite] install"
http://justinhileman.info/article/a-more-secure-drupal-multisite-install/

Read more
jfmoore's picture

Adding domain - stuck!

I just can't get my head around this thing. Here's where I am:

I have the root drupal directory in defaultsite.com/drupal

I have subsites set up as:
drupal/sites/defaultsite.com.site1
drupal/sites/defaultsite.com.site1
etc.

In public_html, I set symlinks, like:
ln -s drupal site1
etc.

The sites are accessed like:
defaultsite.com/site1
etc.

All of these are working fine. Now, I want to set up site3-domain.com and am having trouble. Here's what I did:

Parked site3-domain.com on defaultsite.com
Created directory drupal/sites/site3-domain.com

Read more
patrickavella's picture

Any advice/experience with development->staging->production work flow?

Hello everyone. I have a feeling I'm not the first person trying to do this, but I can't seem to find the answer I'm looking for, or at least a non intrusive solution.

The proposed work flow we'd like to use is to develop on our local machines. Push to a staging server for client and colleague viewing, then push to live/production when finished. With static sites this works great, and with git it's pretty easy with drupal except for the multisite configuration.

For example, I have "mysite.com" I'm working on. so I create /sites/mysite.com as a git submodule

Read more
pezholio's picture

Multisite site showing default homepage

Hi,

I've been working happily on a multisite installation, and, half way through development, I realised the domain I was using was the wrong one, so I renamed my /sites/{site-name} to the correct domain name (something which I now realise I shouldn't have done!). I've now renamed the relevant folder and have the correct domain name as a symlink to the existing file. However, since I've done this, the homepage defaults to the homepage of the default site. Any ideas?

Read more
koffer's picture

Parked parked domains, aah!

I feel terrible, like everything is easy but dont.

This is my problem im moving a drupal multisite into a cpanel hosting.
The sites are something like this:

-maindomain.com (in public_html)

--seconddomain.com (inside site folder)

the domains share the database.

the main domain work correct, everything is fine, but the second domain dont appear.

I parked the second domain and put the dns to the same server names.

I read some tutorial about cpanel, parked domains and multisites, but dont work the instruction.

Im missed in configuration.

Read more
kdhartstrom's picture

Drupal 7 multi-site subdirectory wrong site

I'm working on a Drupal 7 multi-site setup. I have the following:

mydomain.gov <- default site
mydomain.gov/department1 <- site1
mydomain.gov/department2 <- site2

I've created the appropriate folders in my sites folder, copied the default.settings.php file to each folder as settings.php and setup the new site.
mydomain.gov.department1
mydomain.gov.department2

When I visit mydomain.gov/ i get the default site, when I visit mydomain.gov/department1 i get that sites home page. However when I visit mydomain.ca.gov/department1/sub-page I get a not found message from my default site.

Read more
Brian MacKinney's picture

Different site titles for multisite?

(I'm using webenabled.net - so no install process)

With that out of the way, I created the sites/domain.subdir directory and copied/renamed default.settings.php from sites/default to the new directory and settings.php.

When I point firefox at domain/subdir, I get a new site and new login. I did that but when I tried to change the site title in configuration>site information, it changed the info for the parent site. The two sites seem to share everything which is expected. How Do I change the site title for the subdir site?

Thanks in advance

Read more
greta_drupal's picture

Opinions: Non-tech-client managed multisite???

I'd like your opinions.

Client has commissioned 9 of their sister organizations sites to be redesigned/redeveloped as Drupal sites (actually 1 already is Drupal). They want each site to be independent, but share some content, such as a common events calendar -- which I intended to do with Views/FeedsAPI. They have asked that it be done as a Drupal multisite, with only shared codebase. I believe that they think multisite is the only way to share content. Client is non-technical (no web specialists) and not familiar with Drupal, but wants to be able to maintain it themselves.

Read more
greta_drupal's picture

PathAuto to generate /sites/{child-domain.com}/ part of file path ???

Anyone using PathAuto automated alias settings to generate the /sites/{child-domain.com}/ part of file path, so that you can use reference nodes without hardcoding that in?

Run into any problems doing it?

Read more
Ravi Kiran Mullangi's picture

Multisite with 20 subsites is it a good idea ?

Hi

Multisite approach for an environment with 20 subsites is it a good idea ?

our setup will consists single code base and separate database for each site.
we thought of this approach is due to reuse code and easy for future maintainance.

is it a good decision to have multisite for this purpose, what could be the impacts if any ?

Read more
earthday47's picture

Multisite module shared configuration?

Hi, I'm developing a Multisite module that has some shared tables. I have settings that I've been using system_settings_form() for, but now I want to add more configuration options. The thing is, they should be shared as well. I don't want users to have to duplicate the settings over and over, so I'd like to store these configuration settings somewhere else.

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: