One database, one main installation (shared modules, themes) -> many websites on different domains

To say less words and to be more clear, I've made a scheme of system, that I want to create.

If you've already made the same system, please, share your knowledge, and describe, how you did it.
If you just know how to do it, sure you are welcome to write as well.

Multisite structure

Groups:
Login to post comments

Have you had a look ad

thomas23's picture
thomas23 - Sun, 2008-07-13 16:08

Have you had a look ad organic groups?


DA or normal nultisite

agentrickard's picture
agentrickard - Wed, 2008-07-16 01:47

Take a look at the Domain Access family: http://drupal.org/project/domain

Between DA and Domain Prefix, most of this work should already be done.

But what you describe sounds like normal Drupal multisite behavior. See http://drupal.org/node/43816 and the instructions in INSTALL.txt.

--
http://ken.therickards.com/


I've tried

Mavros Gatos - Wed, 2008-07-16 05:31

I've tried http://drupal.org/project/domain and http://drupal.org/project/virtual_site, but they didn't help.

There is also a problem - I am not allowed to modify DNS records.

Is description here http://drupal.org/node/43816 OK for Drupal 6?


Maybe I'm missing something

defconjuan - Tue, 2008-09-02 14:01

Maybe I'm missing something but can't this be done using the native Drupal functionality by using table prefixes and mutliple folders under the /sites folder? That's what I've done. I have one database and one codebase. Each domain uses its own table prefixes and sites/domain/ folder (and thus its own settings file).

This lets me maintain one code base (modules and themes especially) but individual content bases - all using one database.

Looks something like:

/drupalcodebase.com/
subfolder => sites/all
subfolder => sites/default
subfolder => sites/first-site.com
subfolder => sites/second-site.com
subfolder => sites/third-site.com

As for not being able to modify DNS records, you have to at least be able to point the domians to your main install which should be all you need to do.


I guess it could but 200-500

thomas23's picture
thomas23 - Tue, 2008-09-02 16:17

I guess it could but 200-500 domains is a lot to click for all settings


When you maintain 200-500

Lenn-art's picture
Lenn-art - Thu, 2008-09-04 15:17

When you maintain 200-500 site's i presume you can write a script for that ...


I think what he's getting

ixlr8's picture
ixlr8 - Fri, 2008-09-05 16:48

I think what he's getting at, would be an automated script for some sort of account creation, where the users get their own subdomain of the site.