Flexible Load Balancing - preventing access to back-office from load balanced servers
Hi,
The flexible load balancing document states:
"You will designate a single server to be the back-office server for which your editors will log into for editing content. Umbraco will not work correctly if the back-office is behind the load balancer."
I have traversed the documents and come to the conclusion that there is no need to set the server names in the servers section of any of the umbracoSettings.config files when using flexible load balancing. Firstly, is this correct?
So, if I am using the Option #2 : File Storage with File Replication approach where I have one back-office server: 'a.com' and two front-end servers behind a load balancer: 'b.com', what is to stop a person accessing the back-office via the url: b.com/umbraco?
Is it correct just to set up a rewrite rule so that b.com/umbraco goes to a.com/umbraco or should this be done in a different way?
have traversed the documents and come to the conclusion that there is
no need to set the server names in the servers section of any of the
umbracoSettings.config files when using flexible load balancing.
Firstly, is this correct?
This is correct
So, if I am using the Option #2 : File Storage with File Replication
approach where I have one back-office server: 'a.com' and two
front-end servers behind a load balancer: 'b.com', what is to stop a
person accessing the back-office via the url: b.com/umbraco?
Is it correct just to set up a rewrite rule so that b.com/umbraco goes
to a.com/umbraco or should this be done in a different way?
You can do this by adding a rewrite url in your web.config
Flexible Load Balancing - preventing access to back-office from load balanced servers
Hi,
The flexible load balancing document states:
"You will designate a single server to be the back-office server for which your editors will log into for editing content. Umbraco will not work correctly if the back-office is behind the load balancer."
I have traversed the documents and come to the conclusion that there is no need to set the server names in the servers section of any of the umbracoSettings.config files when using flexible load balancing. Firstly, is this correct?
So, if I am using the Option #2 : File Storage with File Replication approach where I have one back-office server: 'a.com' and two front-end servers behind a load balancer: 'b.com', what is to stop a person accessing the back-office via the url: b.com/umbraco?
Is it correct just to set up a rewrite rule so that b.com/umbraco goes to a.com/umbraco or should this be done in a different way?
Thank you.
Hi Steve,
This is correct
You can do this by adding a rewrite url in your web.config
This rewrite will restrict backoffice access, so it is only available on server a.com.
Dave
Hi Dave,
Many thanks for the reply and especially for including the rewrite rules (I had forgotten about umbraco/api etc.)
We just went live with the load balanced system and seems to be behaving well.
Thank you,
Best regards,
Steve
is working on a reply...