title: web.config redirect all requests to https://www
body: <p>We want to redirect all incoming requests to <a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a></p>
  
  <ul>
  <li><a href="http://domain.com" rel="nofollow">http://domain.com</a> -> <a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a></li>
  <li><a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> -> <a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a></li>
  <li><a href="https://domain.com" rel="nofollow">https://domain.com</a> -> <a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a></li>
  <li><a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a> -> <a href="https://www.domain.com" rel="nofollow">https://www.domain.com</a></li>
  </ul>
  
  <p>We have tried dozens of code snippes from the web but none covered all the examples from above.</p>
  
  <p>Can anyone help with an appropriate web.config file for IIS?</p>