简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM