Copied to clipboard

Flag this post as spam?

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

  • Gavin Williams 23 posts 133 karma points
    Nov 19, 2020 @ 16:04
    Gavin Williams

    Load balancing and Umbraco admin

    I'm new to load balancing with Umbraco and have followed the various documentation to configure it in Azure, so now I have two Azure web apps, one configured as master, one as slave which can be scaled out as required.

    I'm now into a period of testing to prove everything works as expected but what should I expect the standard behaviour to be with regards to the umbraco backend?

    For example if I explicitly browse to the slave web app url/umbraco should I expect this to re-route to the master web app/umbraco url or does it not work that way?

    Would it do so once the actual web domain url is in place?

    Should I just hide/rename the umbraco folder on the slave and then get the editors to use the master web app url explictly?

    Is this what the umbracoApplicationUrl param handles in the umbracoSettings.config?

  • Marc Goodson 1493 posts 9986 karma points MVP 5x c-trib
    Nov 19, 2020 @ 21:22
    Marc Goodson

    Hi Gavin

    If you access the replica - frontend server on the /umbraco url, then I suspect the default behaviour would be to allow you to login!

    Generally, you'd have a different Url/subdomain for the 'primary' backoffice instance for editors to use, and put IIS Rewrite rules in to prevent access to the Umbraco folder on the replica servers that are serving the site on the main url (it's also ok if the backoffice instance also serves the site - the only issue is if you scale out the backoffice instance - that's when it breaks).

    The Umbraco Application Url is the Url on which the server can request itself, and it's been used over the years as part of quite a few different backoffice functions (legacy load balancing requests, scheduled publishing) but generally it's used as part of the KeepAlive ping:

    (but that isn't executed on replica servers)

    So yes set this to be your backoffice url that your editors access backoffice on.



Please Sign in or register to post replies

Write your reply to: