开发者

Mapping of URLs to Azure WebRoles

开发者 https://www.devze.com 2022-12-20 19:30 出处:网络
I cannot find any high level discussion docs that describe how URLs are mapped to Azure WebRoles in the case where an application has multiple WebRoles.

I cannot find any high level discussion docs that describe how URLs are mapped to Azure WebRoles in the case where an application has multiple WebRoles.

Is it:

roleA.myApp.com to WebRoleA
roleB.myApp.com to WebRoleB

or:

www.myApp.com/roleA to WebRoleA
www.myApp.com/roleB to WebRoleB
开发者_StackOverflow社区

The answer to this question will help me decide what type of SSL certificate(s) my Azure application will need.

Note: I understand a WebRole can have a configured number of instances, but in this question I am discussing different WebRoles within an app.


Each web role gets its own port as its endpoint differentiator. Typically you'd hit port 80 (or 443). You'll need to choose non-standard ports for the 2nd webrole.

Here's what the configuration form looks like in VS2010, when configuring a webrole. I simply added two web roles, and chose the 2nd one. I can now specify the port as well as the certificate, for the specific webrole.

Mapping of URLs to Azure WebRoles

0

精彩评论

暂无评论...
验证码 换一张
取 消