I have a multi-tenant SaaS app that has been running behind Azure Traffic Manager (Configured using the Priority
method) for some time now. (Tenants are identified by subdomain, ie tenant1.mydomain.com, tenant1.mydomain.com, etc)
Now I have added an endpoint to my Azure Traffic Manager, and specified a Custom Header Setting
as follows: host:[tenantX].mydomain.com
.
My expectation is that all requests for tenantX.mydomain.com
should be now routed to the new endpoint I have added, but logging shows that this is not the case...all requests are still going to the priority 1 endpoint.
Am I missing something, or is this not supposed to be what Azure Traffic Manager's Custom Header settings are supposed to used for? Or should I be changing the routing method? If so, to what?