View Full Version : Using Web Deploy with Web Matrix

November 14th, 2011, 09:56 AM
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.

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

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 users and checking the IIS Management check box.

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)

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.