title: Publish ASP.NET MVC 3 (Razor) app onto remote server running Windows Server 2003 with IIS 6
body: <p>I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that runs fine on my local machine with IIS Express. Now I'm trying to publish it to a remote server that is running Windows Server 2003 and IIS 6 and has just been upgraded to .NET Framework 4.0.</p>
  
  <p>I was able to successfully publish all the files to the proper directory on the remote server using Visual Studio 2010's Publish dialog (Publish method: FTP), and I've followed the instructions for including all the DLLs needed to run ASP.NET MVC on a machine that doesn't have it installed, but now I'm pretty much stuck.</p>
  
  <p>The first issue is that I don't have access to the remote server's IIS. I <em>may</em> be able to get the hosting company to add a virtual directory or change a setting, but I'm not sure they know what they're doing, and at the moment, I wouldn't know what to tell them anyway.</p>
  
  <p>The second issue is that I need my web app to live <em>inside</em> an existing site (the web app is basically a protected members area of the main website). So, pretend the main site is <a href="http://www.foobar.com" rel="nofollow">http://www.foobar.com</a>. I'd like my web app to be accessed by entering the URL <a href="http://www.foobar.com/members" rel="nofollow">http://www.foobar.com/members</a>.</p>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li>Is it possible to publish my web app without access to the remote server's IIS?</li>
  <li>If not, what exactly do I need to tell the hosting company to add or change in IIS?</li>
  <li>Do the settings under the Web tab of project properties affect publishing or just local debugging? At the moment, I have it set to use IIS Express, and the Project URL is "http://localhost:7373/". Do I need to change these?</li>
  <li>Given that the remote server is running Windows Server 2003 and IIS 6.0, is it possible to use Web Deploy or am I limited to FTP?</li>
  <li>If I can use Web Deploy, what do I put for the Service URL? All I have right now is a URL in the format of <a href="ftp://www.foobar.com/www" rel="nofollow">ftp://www.foobar.com/www</a> and a username and password.</li>
  <li>If I need to use FTP, what steps do I need to take to get the app working once the necessary files have been uploaded to <a href="ftp://www.foobar.com/www/members" rel="nofollow">ftp://www.foobar.com/www/members</a>? I'm not worried about database, security certificates, registry, GAC, etc., I just want to know the steps necessary to get the home page of my web app to come up when I put <a href="http://www.foobar.com/members" rel="nofollow">http://www.foobar.com/members</a>.</li>
  </ol>