title: Redirecting from Root to Index in IIS
body: <p>I can't quite figure out how to do this.</p>
  
  <p>I have an ASP.NET site on an IIS server at work for internal usage only and whenever I access the root link foo.dk it shows me an HTTP Error 403 which is fine because that location is not supposed to be accessed.</p>
  
  <p>What instead should happen is that the user is redirected to foo.dk/Index but here is where I have issues. At first I went into the IIS and looked at the HTTP Redirect section. Here I assumed that if I put in foo.dk/Index it would redirect to that page whenever foo.dk was accessed. Instead I get a "Loop at Redirect" error where it tries to redirect forever.</p>
  
  <p>I then went into Default Document and se my Index.aspx page as the default one. This didn't solve the issue either. I tried to use the Web.config file to write a rule that would accomplish what I want but this changed the 403 error to a 500 error on every single page making it completely inaccessible.</p>
  
  <p>I have tried quite a few things now and would like to know if anyone else knows what I could do to achieve what I want:</p>
  
  <p><strong>Whenever the user access foo.dk I want the IIS to redirect the user to foo.dk/Index</strong> </p>
  
  <p>How do I achieve this?</p>
  
  <p>Thanks in advance!</p>