Multiple Windows Azure Nodes under One Role - Host Header Issue

I have a web and mobile site that I run on Azure in the same domain. Initially, I was going to run every single hosted service, but it doubles the cost, although it will allow me to scale each independently.

Then I found out that you can run multiple sites under the same web role using hosts that are similar to your standard iis site. I like the Azure VIP exchange button, which allows you to instantly deploy your "intermediate" site to "production", but I'm not sure how to use it if I use hostheaders; in my setup, the middleware site that uses hosts is effectively hidden until I go into production.

Any thoughts on how to test an intermediate site that uses host headers without having to modify the ServiceDefinition.csdef file before clicking on create?

+4
source share
1 answer

Change% windir% \ system32 \ drivers \ etc \ hosts and map the hosts you want to the intermediate deployment IP address.

+1
source

All Articles