title: How do I redirect domain1.com request to domain1.com/app on IIS
body: <p>I have a angular application hosted on <code>IIS server</code> Under <code>Default web site</code> with folder name <code>app</code>
  let say for example my domain name is <code>domain1.com</code> and have static ip for e.g <code>1.2.3.4</code></p>
  
  <p>Under my dns configuration i have mapped my domain1.com with ip address 1.2.3.4
  this works fine and when i browse my domain1.com it show a default IIS page which is absolutely fine!</p>
  
  <p>My angular application is under <code>Default web site</code>.</p>
  
  <p>If i need to browse my <code>angular</code> application then i need to browse to <code>domain1.com/App</code> OR <code>1.2.3.4/App</code></p>
  
  <p>this is also working as expected!</p>
  
  <p><a href="https://i.stack.imgur.com/V1C3N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V1C3N.png" alt="Angular Application"></a></p>
  
  <p><strong>My question is how do i redirect a request my request of <code>domain1.com</code> To <code>domina1.com/App</code></strong></p>
  
  <p>Eg. if a user browse to domain1.com then it should be redirected to domain1.com/App</p>
  
  <p>what i have tried till now!</p>
  
  <p>1) I installed Http redirection on IIS server and added a reroute rule 
  ex redirect domain1.com/ to domain.com/app.</p>
  
  <p>but above seems to be not working because it gives a error message <code>too many time redirect</code>
  when i searched for error it says if you have used <code>URL REWRITE MODULE</code> extension it will not work</p>
  
  <p><a href="https://help.duo.com/s/article/4554?language=en_US" rel="nofollow noreferrer">https://help.duo.com/s/article/4554?language=en_US</a></p>
  
  <p>2) I tried to add URL redirect to under my DNS console but that does not seems to work.</p>