In my ServiceDefinition.csdef have this:
<Sites>
<Site name="Web">
<Bindings>
<Binding name="Endpoint1" endpointName="Endpoint1" hostHeader="www.storeA.com" />
</Bindings>
</Site>
<Site name="Web2" physicalDirectory="..\MyWebRole">
<Bindings>
<Binding name="Endpoint1" endpointName="Endpoint1" hostHeader="www.storeB.com" />
</Bindings>
</Site>
</Sites>
And in my ServiceConfiguration.cscfg this:
<Setting name="DB1" Value="Data Source..." />
<Setting name="DB2" Value="Data Source..." />
How can i set www.storeA.com use DB1 and www.storeB.com use DB2? checking the url?
Not only for settings, eg how can load different css file for each site?