Multiple sites one file system **shared hosting**
PermalinkBy aliasing a single site, detecting domain name the request is on, could select the right database/config in site.php, to display the appropriate website.
But would the file manager lend itself to this approach, just showing each site's files, or would it show all files? And would caching still work?
No idea if this can be done, might have overlooked a lot of things, but thanks for your help.
Ollie
Coming at this a different way, are there any plans to allow multiple installs to use one database. It's not so much upgrades that motivate here, more managing as few backups as possible.
Thanks again.
the domain mapper lets you do as much of this as we're ever going to support.
I'm not thinking of a DNN style system that runs multiple sites on one set of database tables.
Thanks for taking the time to discuss Franz, appreciated.
Didn't need specific access to file manager, so didn't pursue it based on what Franz said. I just had user upload a logo in their profile page, and all that info (in their profile) form the basis for a site customisation and themes.
All the multi-site handling and site customisation was done in
config/site.php and site_theme_paths.php
Happy to post up the mods is you think it might be useful to you.
What you can do is centralize the core for these installs, but each install will need its own files directory. You'll also find you may want the power to override stuff for different sites. Add-ons are licensed on a per-site basis as well and I think this would certainly be bending that license a bit far.
Centralizing the core certainly has some advantages, its easier to make a fast change across all the sites instantly. We used to suggest that to all our hosting partners that they do a centralized install that way.. These days we actually run our own sites without the centralized core. The upgrade process is graceful enough on its own that there's no real need to worry about this as we might have in the past.