Created
June 21, 2011 13:59
-
-
Save domgreen/1037912 to your computer and use it in GitHub Desktop.
Using a single Azure Web Role to Host two websites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ServiceDefinition name="MultipleSitesInAzure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> | |
<WebRole name="FirstWebProject"> | |
<Sites> | |
<Site name="Web"> | |
<Bindings> | |
<Binding name="Endpoint1" endpointName="Endpoint1" /> | |
</Bindings> | |
</Site> | |
<Site name="Web2" physicalDirectory="..\SecondWebProject"> | |
<Bindings> | |
<Binding name="Endpoint2" endpointName="Endpoint2"/> | |
</Bindings> | |
</Site> | |
</Sites> | |
<Endpoints> | |
<InputEndpoint name="Endpoint1" protocol="http" port="80" /> | |
<InputEndpoint name="Endpoint2" protocol="http" port="81" /> | |
</Endpoints> | |
<Imports> | |
<Import moduleName="Diagnostics" /> | |
</Imports> | |
</WebRole> | |
</ServiceDefinition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment