I have a Drupal 6 installation up and running and would like to add another site to it with the ability to share the same database as we will have the same users and would like to share some of the content. It would be great if you could log into siteone.com and automatically be logged into sitetwo.com when you happened to go there. Is this possible?

There is also going to be some content that we might want to share between sites. I saw the subdomain module that allows that but that was for multiple subdomains, not a multisite installation (at least that’s how it looked to me). If I can share content between multiple sites, how would this be done? The database holds all of the content but I’m not sure if I would be able to actually reuse the nodes (pages) that were created in one site for use on the other.

In poking around it looked to me like you would do something like /var/www/drupal/sites/siteone.com and /var/www/drupal/sitetwo.com. I built our original site without realizing that we might what to add another site to it so I currently have /var/www/siteone. Can I still use our existing installation and simply add another or do I need to completely rebuild it?

Comments

jaypan’s picture

Does domain share content across domains? I thought it was only subdomains, but I've never used it.

Anyways, for setting up multisite sharing tables, you should read this:

http://drupal.org/node/22267

Contact me to contract me for D7 -> D10/11 migrations.

spinsheet’s picture

Looks like the Domain Access module might be the way to go. Not only do I want to share the database, but I want to share nodes (actual pages) between the different sites and that looks like it could get complicated using a multisite installation. From what I've seen, if you want to share actual nodes across the different sites then the Domain Access module might be the preferred method. According to this:

example.com
one.example.com
two.example.com
my.example.com
thisexample.com <-- can use any domain string
example.com:3000 <-- treats non-standard ports as unique

I should be able to use actual domains and not just separate the sites with subdomains. But then I saw this:

You'll note that you're asked to enter a subdomain rather than a domain -- while Domain Access only supports subdomains, the issue can be overcome with some Apache configuration magic (more on that later).

On this page. But it looks like it's just a simple change to Apache's VirtualHost config file (hopefully).