title: Is there a way in Visual Studio to configure the default start page for web deployment starting from Empty ASP.NET Web App?
body: <p>Entry level web developer here, thank you in advance.</p>
  
  <p>A very basic single page website starting from Empty ASP.NET Web Application adding each and folder file from scratch. Everything works fine locally bare bones. I'm trying to configure the start page in the subfolder "html" to the file index.html. I get the default "This website has been successfully created" after publishing. Azure web service is working fine because I can go to site.azurewebsites.net/html/index.html to see my page after it's published.</p>
  
  <p>Right clicking the project and going to properties to set as start page, or going to Properties>Specific Page doesn't work as suggested <a href="http://forums.asp.net/t/1934284.aspx?How%20to%20set%20in%20Visual%20Studio%20Startup%20Page%20in%20web%20config%20" rel="nofollow noreferrer">here</a> for deployment but works fine locally. Altering the web.config file as suggested <a href="https://stackoverflow.com/questions/1913058/set-default-page-in-asp-net">here</a> gives me an internal server error that is fixed once I remove the code </p>
  
  <pre><code>&lt;system.webServer&gt;
     &lt;defaultDocument enabled="true"&gt;
      &lt;files&gt;
       &lt;clear /&gt;
      &lt;add value="html/index.html"/&gt;
     &lt;/files&gt;
    &lt;/defaultDocument&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>I tried different variations of this all with the same internal server error. Is my syntax correct?</p>
  
  <p>I then created a global.asax file and changed the Application_Start line as suggested <a href="http://codeverge.com/asp.net.web-forms/the-global.asax-file-application_start-redi/413396" rel="nofollow noreferrer">here</a>:</p>
  
  <pre><code>protected void Application_Start(object sender, EventArgs e)
  {
     Response.Redirect("/HTML/index.html");
  }
  </code></pre>
  
  <p>Same result.</p>
  
  <p>Lastly, I created an App_Code folder with a RedirectHandler.cs file as suggested by Rion Williams's last suggestion (first link) along with his code and sure enough I get the same result.
  "This web app has been successfully created" after publish but I see my desired start page after adding /html/index.html to the end of the url.</p>
  
  <p>Understanding how basic this problem is I took extra care to exhaust as many google searches as I could find relating to the topic before asking this question. My first question on StackO so my reputation is too low to link each page I found. My next attempt is to just start a brand new MVC project and painstakingly rearrange every single file that way. I'm confident that will work but I didn't want to leave this simpler method without learning from what I did wrong especially when I know the answer is going to derp-slap me in the face.</p>