Question

I know that you can support multiple host headers on an Azure WebSite reserved instance based on this question - Is it possible to have multiple azure web sites running off a single reserved instance

My question is how do you configure a reserved server to respond to the different host headers in Azure Websites? With a regular WebRole I know you edit the ServiceDefinition file, but my understanding was that it doesn't exist for Azure Websites.

Was it helpful?

Solution

To add multiple host headers for Windows Azure Reserve Websites you will need to add directly from portal in configure section as shown below:

enter image description here

In your code, you will handle the hostheader based routing to specific section of content.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top