Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
is it possible to use one Umbraco installation over multiple databases?
And based on the subdomain it uses the correct database.
http://tenant1.domain.be opens database DbTenant1
http://tenant2.domain.be opens database DbTenant2
If its possible, how do I setup tis kind of Multi Tenancy? Because if I look into the code I see that the Database is setup during application startup ( boot manager ).
Or can we override this in some way to look up the subdomain on every request in the UmbracoApplication and setup a new database connection?
I don't think it would be wise to spread one CMS / website installation over multiple databases. Why would you need such a setup?
If you would like to try, I guess you will need to interfere with the ApplicationContext.Current.DatabaseContext.ConnectionString (which is only a getter). You get the picture...
To have multiple tenants, you have multiple options:
I was just wondering if I could use Umbraco as the flatform to build an application with only the backend interface ( so no frontend content delivery ) for a multi tenant application.
But indeed after researching the code I did see that for setting another connectionstring it was not possible.
I have seen it once, where they used the backend for an administration (not multi tenant).
We are developing umbraco websites since version 4.0. We have one (multi tenant) application. And it is not running in Umbraco. Except the public facing, marketing and related websites (of cource).
We are not planning on changing this. Because I love the flexibility to wire up everything yourself - just as it suits the application.
Certainly if you start thinking about:
I love umbraco, but Umbraco is just not suited for these type of thing.
thanks for sharing your experiences!
Did you find any solution for one Umbraco installation over multiple databases? I am looking for similar functionality with Umbraco.
Can you please suggest any idea or share your experience?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted