问题
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.
回答1:
To add multiple host headers for Windows Azure Reserve Websites you will need to add directly from portal in configure section as shown below:

In your code, you will handle the hostheader based routing to specific section of content.
来源:https://stackoverflow.com/questions/11530507/how-to-configure-multiple-host-headers-for-one-azure-website-reserved-instance