Web Deploy

From Hostek.com Wiki
Revision as of 16:02, 16 September 2013 by Davidd (Talk | contribs) (Using Web Deploy with Web Matrix)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This article contains details for using Microsoft's Web Deploy on our servers.

What is Web Deploy

Microsoft's Web Matrix tool, as well as several other web publishing tools from Microsoft, use what is called "Web Deploy" for publishing sites. Web Deploy not only publishes your files, but also attempts to publish any IIS and database settings necessary for the application to work.


Requirements

Web Deploy is only available on our Windows 2008 and above servers with IIS 7 or above. You can check your server version by logging into the control panel at https://wcp.hostek.com/ and choosing Site Details.


Creating a Web Deploy Enable User

Servers with Web Deploy enabled will have an additional option when adding/editing ftp users within the control panel. Under the Advanced tab, the checkbox IIS Management will be visible. Checking that option will enable the current FTP user to authenticate with the Web Deploy service.


Using Web Deploy with Web Matrix

In order to use Web Deploy, you must enable it for one of your FTP users. You will then use that FTP user's credentials to authenticate when publishing with Web Deploy. You can do this by adding or editing an FTP user and checking the IIS Management check box under the Advanced tab.


When publishing with Web Matrix using Web Deploy, you should use the following settings:

Protocol: Web Deploy

Server: secure##.ezhostingserver.com
(The above is available in the 'Site Details' section in the control panel. Simply remove the 'http://domainname-com.' part from the server name.)

User name: ** your FTP username **
Password: ** your FTP password **

Site name: domainname.com
 (Replace domainname.com with your actual domain - do not include the 'www' on the domain name.  If you are publishing to a sub-folder, add the sub-folder name to the end of the 'Site name'. Do not end with a trailing forward slash.)

Destination URL: http://www.domainname.com
 (This will be the URL of the location to which you are publishing. If your domain name is not pointing to the site yet, use the full pre-propegation URL listed
  in the 'Site Details' section. If you are publishing to a sub-folder, add the sub-folder name to the end of the URL. Do not end the URL in a forward slash.)


After entering the details, press the Validate Connection button to test the connection. If successful, you are ready to publish.



Davidd (talk) 10:41, 26 August 2013 (CDT)