In Azure App Services I run a web app handling multiple tenants web traffic. Most of the traffic goes to one single slot. But a few run in separate slots. I wish to consolidate all traffic to the single slot that is accepting traffic with a wildcard expression and consequently removing slots running specific tenants. Moreover ARRAffinity is used.
Example
- someapp.somehostname.com (somaapp slot)
- *.somehostname.com (production slot)
Preconditions
- The DNS-records are external to Azure. Azure DNS is not used.
- As a previous post suggest, removing the CNAME has no impact on which slots that servers incoming requests. It's still the same slot serving the requests. Remove CNAME after Azure has verified the domain
- The main slot (production) is configured to receive 100% of the incoming traffic per previous configuration.
Questions
- Should I remove the custom domain and expect the main slot to take over the traffic?
- Or, should I add a new custom domain "someapp.somehostname.com" to the production slot?
- Or both of the above?