title: Single Sign On With Azure AD with two URLs
body: <p>Assume I have 2 urls pointing to one website, just use site binding, example:</p>
  
  <pre><code>productname1.company.com
  productname2.company.com
  </code></pre>
  
  <p>Our web application does single sign on to Azure Active Directory, and in Azure Application Configuration, I have put:</p>
  
  <pre><code>productname1.company.com
  </code></pre>
  
  <p>for SIGN-ON URL and REPLY URL:</p>
  
  <p><img src="https://i.stack.imgur.com/EWE93.png" alt="enter image description here"></p>
  
  <p>If user comes to <code>productname1.company.com</code>, the Azure single sign on authentication works perfectly.</p>
  
  <p>But if user comes to <code>productname2.company.com</code>, it does not work at all and redirect to login page of <code>productname1.company.com</code>.</p>
  
  <p>How do I configure to make it works with <code>productname2.company.com</code>, I am using OWIN OpenIdConnect to do single sign on with Azure AD.</p>