How to Use Web Deploy to deploy your website
Written by Ronald Craft Saturday, 7 August 2010
This blog post will detail how to use Visual Studio 2010 to deploy your website or ASP.NET application to your Arvixe hosted site. Web Deploy allows you to publish your site quickly and easily without having to login to the control panel or FTP. For those not familiar with Web Deploy you can read more about it here: http://learn.iis.net/page.aspx/426/overview-of-web-deploy/
Arvixe offers Web Deploy service with all ASP/ASP.NET hosting packages.
i) You need to have Remote IIS Management enabled. You can enable it from the “Management” tab in your website properties in your Arvixe control panel. Inquire our staff if you run into any problems. The username and password you choose in that tab will be the username and password you use for Web Deploy.
If you are a new customer: Web Deploy is automatically setup for you along with Remote IIS when your account is created. To enable it login to your control panel and go to Websites > Click on your website > Click on the Management tab > Enter a username and password > Click Enable. From that point you can follow this blog tutorial on how to use web deploy.
If you are an existing customer: Web Deploy is setup on a per user/site request. Please submit a ticket to have Web Deploy enabled for your account. If you require it on more then one website, please list them in the ticket.
1. Start Visual Studio 2010 and select your project. In this case, we’re using an ASP.NET 4.0 web application.
2. Navigate to the option “Publish Web Application”
3. Leave Web Deploy selected and fill in the relevant information.
Note: The “allow untrusted certificate” option must be checked. Also, make sure you do not check the “Mark as IIS Application on Destination” option if you are deploying to the root as the root is already marked as an IIS application. Even when uploading to a subdirectory that’s already been made a virtual directory inside the control panel, leave this option unchecked.
4. Once you have the settings filled in click the “Publish” button. The log on the bottom of the screen will display all of the information pertaining to the upload (and whether it succeeds or fails). You should see the following when it’s finished deploying your content:
Now, you should be able to navigate to the URL and view the content you deployed.