Can an Azure Website have multiple bindings? -


we host our site on iis on our own virtual machine. works great.

our main website has around 30 or bindings, use customize html output. each binding theme, us. red.mywebsite.com have red background, example.

if move on azure web site, azure allow also?

if yes, can programatically?

yes, azure web sites support multiple bindings per single web site.

this feature is, however, available shared , reserved instances scale mode.

configuring the bindings done via custom domain management targeted web site. can add multiple custom domains, edit bindings in iis. must aware ssl not yet available azure web sites.

there programmatic way of managing bindings, not documented yet, feature preview. can manage azure web sites via windows azure powershell management cmdlets. not yet documented. if latest windows azure powershell here have these commands:

  • new-azurewebsite
  • get-azurewebsite
  • remove-azurewebsite
  • set-azurewebsite
  • show-azurewebsite
  • start-azurewebsite
  • stop-azurewebsite

there rest management api (which used powershell cmdlets), , not documented :(

simple reverse engineering (using fiddler) shows *azurewebsite commands connect following address:

https://management.core.windows.net/[subscription-id]/services/webspaces/

just quick note, command set-azurewebsite shows there switch -hostnames, documented follows:

-hostnames <string[]>

   qualified hostnames can used access website 

i believe need.

you try digging in deeper.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -