Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Dooley 289 posts 528 karma points
    Jun 13, 2018 @ 08:07
    Sean Dooley
    0

    Single Umbraco installation for 30+ websites

    Looking at a project where there is a single Umbraco installation with 30+ websites. I've setup multi-lingual websites on a single Umbraco installation before but not with that many websites.

    Some questions that spring to mind

    • Is there anything I need to watch out for?
    • Any recommendations on how to setup the project?
    • Any issues with the potential size of umbraco.config?

    EDITED 01/10/2018

    The request has been updated so that the intention is to have a shared code base for a number of separate Umbraco installations with separate source code repositories.

    One possibility I have looked at is creating a NuGet package of a Umbraco installation where the base files are located (i.e. CSS, JS, Views, Partial Views, etc.) and use uSync to export the Document Types, Data Types, etcs. The NuGet package is then applied across different installations. As the number of websites grow this could become a time-consuming task.

    Ideally the sharing of the main code base would be an automatic process, so any other ideas would be greatly appreciated.

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Jun 13, 2018 @ 08:25
    Søren Gregersen
    0

    not really, just make sure to limit all your queries to each site etc.

    We have an install with 100+ sites, that runs without any issues (other than 100+ site editors wanting their sites changed all the time).

    If every site is different, you will run into issues (too many doctypes etc), but if you can keep it simple/limited, there should be no issues.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Jun 13, 2018 @ 08:32
    Simon Dingley
    0

    Søren, out of professional curiosity, are they all small sites and are they all related?

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Jun 13, 2018 @ 10:50
    Søren Gregersen
    0

    yes and yes - they are local department of a national union

    so all websites are the same, except content of course.

    We actually have two different customers with solutions like that. The first one is 100+ sites, the second have not transferred all their divisions yet, but the potential is 300+ sites if all off them opt in to the solution. The "300+ solution" allows the users to login through Azure AD :)

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Jun 13, 2018 @ 08:30
    Simon Dingley
    1

    Ask yourself why first! Are they related sites? If not, why are they sharing the same Umbraco instance?

    My largest install at the moment is ~15 sites in a single install. All sites belong to the same company, share common document types and templates except for a couple of variations.

    Things to watch out for...

    1. Upgrades - upgrading a single site is no major issue but if you have 30 unrelated sites in a single install you want to upgrade that's 30 sites you have to check and fix before you can successfully complete the upgrade.

    2. Problems start to come about when the sites later start to diversify or want/need their own specific requirements - you don't want to be left maintaining a bunch of hacks you need to implement to handle the sometimes minor differences between sites. This has become somewhat easier now that we can change doctypes on a node.

    3. Performance - I am using Flexible Load Balancing and on the whole, it's working well. You need to make sure if you are sharing things like CachedPartials in your templates that you include a suitable cacheKey to make sure they are unique per site. What has been more of a problem is cold starts and rebuilding the examine indexes which is way too slow for it to be acceptable on a live site now.

    4. Any issues with the potential size of umbraco.config?

      The site I look after is relatively content heavy covering multiple languages but the umbraco.config file is only about 35mb and so has never been a problem.

    5. Any recommendations on how to setup the project?

      Give consideration to content that might be shared between sites (if related).

    I am sure there is more but should give you some food for thought!

  • Sean Dooley 289 posts 528 karma points
    Jun 13, 2018 @ 09:37
    Sean Dooley
    0

    Thank you for the responses, definitely given some food for thought.

    Still in the early stages of the project so details are a bit vague at the moment.

    From what I understand

    • The websites are going to be pretty standard brochure sites.
    • Possibly some shared content.
    • Component driven pages.
Please Sign in or register to post replies

Write your reply to:

Draft