Evan
Evan

Reputation: 6133

How to configure multiple host headers for one Azure WebSite reserved instance

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.

Upvotes: 2

Views: 3059

Answers (1)

AvkashChauhan
AvkashChauhan

Reputation: 20566

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.

Upvotes: 1

Related Questions