Posted by tusharkanta on February 3, 2010 at 7:59pm
I have a requirement of creating many primary domains (for instance, example.com, xyz.com etc) and many subdomains (like uk.example.com, us.example.com, uk.xyz.com, us.xyz.com) etc using a single database. Is it possible using domain access module and table sharing option in drupal 5 ?
Modules should be controlled based on primary domains. For example, I want to disable certain modules for example.com, but those modules might be enabled for xyz.com.
Thanks a lot for helping.
Comments
With Domain Access, all sites
With Domain Access, all sites must have the same enabled modules, so that option is out.
But even if you don't use Domain Access, hosting many sites from a single database is still possible by using the table prefixing feature.
Are you sure you need to share any of your tables? I generally recommend against it.
The Boise Drupal Guy!
"With Domain Access, all
"With Domain Access, all sites must have the same enabled modules, so that option is out." Could you elaborate this, please?
Does it mean I cannot have different modules for different sites in multisite setup, with DA?
I have setup like this:
example.com
sub1.example.com
sub2.example.com
sub3.example.com
multisite setup with different databases and Shared users tables. Single Sign On (just set cookie_domain as TLD). Working alright!
Can't I use DA here? Will I loose any flexibility of this setup? Actually, does it work if I have different databases?
Very much appreciate your response!
"With Domain Access, all
Yes, that's what it means. Sorry, I don't know how to elaborate any further…
The Boise Drupal Guy!
you can not enable different
you can not enable different modules on sub1 and sub2. All Modules are activated on every domain. But as long as you want a content sharing site infrastructure it's a necessarity i think.
Remember: I compute you!