How do I deploy a Visual Studio 2010 Web Site Project to a DiscountASP.NET Server using Publish Web Site feature?

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

To publish your web site using the Publish Web Site feature:
  • Open the project in Visual Studio 2010.
  • Click Build -> Publish.  This will bring up the "Publish Web Site" dialog box.
  • Expand the Target Location text box by clicking the icon.
  • In the expanded dialog box:
    • In the Server field, enter your domain name, e.g.; yourhosteddomain.com
    • In the port field, enter: 21
    • In the directory field, enter the directory you wish to publish the application to.
    • In the Username field, enter the FTP user name.
    • In the password field, enter the FTP password.
  • Click Open.
  • Click OK again.
  • If prompted, re-enter the FTP password.





Related articles:
Visual Studio 2010 Deployment Overview
How do I deploy a Visual Studio 2010 Web Site Project using the Copy web site feature?
How do I deploy a Visual Studio 2010 Web Application Project using FTP?
How do I deploy a Visual Studio 2010 Web Application Project using Web Deploy?

Article ID: 788, Created On: 3/29/2010, Modified: 4/22/2011