How to Setup Web Deploy in Windows Server?

To deploy your ASP.NET and PHP applications to an IIS web server, web deploy is the best tool available. Web Deploy is a client-server tool that simplifies the application deployment to IIS web server by syncing the content and configuration. It wraps your application content, configuration, databases, assemblies, etc., and deploy to IIS. In this article, we will assist you to install the Web Deploy on IIS 8.0 or later.

Installing Web Platform Installer

We deliver the Windows VPS with pre-installed Web Platform Installer. If you don't have Web Platform Installer installed, you can download it from here. After installing Web Platform Installer, next step is to install the Web Deploy tool.

If you choose to install the Web Deploy via Web Platform Installer (Web PI), select the Recommended Server Configuration for Web Hosting Providers option. When you install the Web Deploy with this option, Web PI will select and install all prerequisites and dependencies required for Web Deploy. This package will also include several optional components, if you don't wish to install them, simply click the X next to the components.

Note that the Recommended Server Configuration for Windows Web Hosting Providers can be installed on Windows 2012 Server or later. In earlier versions of Windows Server (2008/2008 R2) with IIS 7, you will have to install the Web Deploy package separately.

Installing Web Deploy from Web Platform Installer

Here are the steps to install the Web Deploy via Web Platform Installer using Recommended Server Configuration for Web Hosting Providers option.

  1. Open Web Platform Installer.
  2. In the search bar located at upper-right hand corner, enter the keyword Recommended and press enter key. 
  3. Select Recommended Server Configuration for Web Hosting Providers, and then click AddClick on Install button.

    Recommended Settings

  4. On the Prerequisites page, click I accept.

    Web PI

  5. You will see download and install progress as shown in following screen.

    Progress bar

  6. Once installation has completed, click on Finish button.

Assign User in IIS Manager Permissions

When you install Web Deploy via Web PI, most of the settings will be done by the Web PI itself. In this section, we will allow user in IIS Manager.

  1. Open IIS Manager.
  2. In the Connections pane, expand the Sites and select the website.
  3. In the Feature view, click on IIS Manager Permissions.

    IIS Manage Permissions

  4. On the next screen, click on Allow User link (step #1 shown in image). This will open Allow User window. On this screen, click on Select button (step #2).
  5. On the next window, click on Advanced button (step #3). On the next window, click on Find Now button (steps #4).

    Select User

  6. Select the username (FTP Username) whom you want to assign the permissions for web deployment and click OK button. Click OK button twice. We recommend you to select the FTP user for web deployment to prevent permissions issues.

    Web Deploy

  7. When user is added, you will see it listed under IIS Manager Permissions. Now try to connect to IIS via Web Matrix to verify the connection.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Enable Ping/ICMP Echo Request in Windows Server?

PING or ICMP Echo Request is the most common network troubleshooting tool to determine whether...

Fix: All EXE Files By Default Open With Notepad or Other Application

Problem:Due to some misconfiguration or change in the setting of “open with” program, Windows...

I can not access (login) Remote Desktop using the IP address to my Windows VPS. What am I missing here?

Note: Following instructions do not appply to VPS customers who are accessing their Remote...

How to force HTTPS from web.config file?

The Microsoft URL Rewrite Module 2.0 for IIS 7 and above enables IIS administrators to create...

How To Synchronize Windows VPS Clock With Internet Time Server?

Sometimes your Windows VPS may get drift away from the correct time by as many as a few seconds...