iis - publish Azure webrole without public URL -
i setup own network in azure, data base servers, domain controllers , proxy servers port of it.
i have web application, hosted webrole part of azure network providing following config in service configuration
<networkconfiguration> <dns> <dnsservers> <dnsserver name="mydc" ipaddress="*.*.*.*" /> </dnsservers> </dns> <virtualnetworksite name="mynet" /> <addressassignments> <instanceaddress rolename="mywebrole"> <subnets> <subnet name="myfrentendsubnet" /> </subnets> </instanceaddress> </addressassignments>
i planning publish webrole through proxy server, need create webrole without public url , should able access site within network.
url should http://localhost/mywebrole/index.html
how configure or publish webrole without public url ?
you setting end point 'internalendpoint'.
by setting end point of web role 'internal', accessible inside of azure cloud service.
also, have replace 'localhost' in url http://localhost/mywebrole/index.html 'ip' address of web role, if trying access different web/worker role.
so servicedefinition file have below
<sites> <site name="web"> <bindings> <binding name="endpoint1" endpointname="endpoint1" /> </bindings> </site> </sites> <endpoints> <internalendpoint name="endpoint1" protocol="http" port="80" /> </endpoints>
Comments
Post a Comment