title: Installing an ASP.NET web API on IIS
body: <p>I have built my first ASP.NET web API in MVC, when I debug the application from Visual Studio everything works perfectly.</p>
  
  <p>Now I need to get these API's on my server...</p>
  
  <p>I have tried copying the project files to the website root which usually works for normal MVC apps with views, and I have also built the project and copies the file full of DLL's and an exe to the IIS root.</p>
  
  <p>Obviously, neither of these worked, anyone know what I am missing? Perhaps something I have to do with IIS?</p>
  
  <p>I have now tried "publishing" the project and when I try to access the site this happens...<a href="https://i.stack.imgur.com/ivpT1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ivpT1.png" alt="Internal server error"></a></p>
  
  <p>Thanks in advance!</p>