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 an IIS web server by syncing the content and configuration. It wraps your application content, configuration, databases, assemblies, etc., and deploys to IIS. In this article, we will assist you in installing the Web Deploy on IIS 8.0 or later.

 

Installing Web Platform Installer

We deliver the Windows VPS with a 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, the 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 in the upper-right corner, enter the keyword Recommended and press enter key. 

3. Select Recommended Server Configuration for Web Hosting Providers, and then click AddClick on the Install button.

Recommended Settings

4. On the Prerequisites page, click I accept.

Web PI

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

Progress bar

6. Once the installation has been completed, click on the 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 users 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 the image). This will open Allow User window. On this screen, click on the Select button (step #2).

5. On the next window, click on the Advanced button (step #3). On the next window, click on the Find Now button (step #4).

Select User

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

Web Deploy

7. When the 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.


Was this answer helpful?

« Back

chat