Deploying a Visual Studio 2010 Web Application Project to a WinHost Server using FTP

The following instructions apply only to Web Application Projects.  For Web Site Projects, please see this Knowledge Base article.

To publish your web application using FTP:
  • Open the project in Visual Studio 2010.
  • Click Build -> Publish.  This will bring up the "Publish Web" dialog box.
  • Change the "Publish Method" to FTP.
  • In the target location field, enter: ftp://[domainName]/[subdirectory], e.g.;  ftp://HostingAccountDomain.com/app1. Replace [subdirectory] with the directory you wish to publish the application to.  If you are uploading your project directly on the root directory set the ftp address to ftp://HostingAccountDomain.com. If you are publishing to subdirectory, please make sure it exists on the server.
  • In username field, enter the FTP user name found in Control Panel.
  • In the password field, enter the FTP password.
  • Click Publish.

Article ID: 812, Created On: 4/30/2010, Modified: 4/21/2011