Plesk

How to configure Visual Studio on remote computer to perform Web Deploy to Plesk for Windows server?

Question

How to configure Visual Studio on a remote computer to perform Web Deploy to a Plesk for Windows server?

How to download the Web Deploy Settings for a website?

How to enable/disable Web Deploy Publishing in Plesk?

Answer

Warning: Web Deploy (Web Deployment Tool) is a Microsoft tool. In case of issues, contact Microsoft support for assistance.

Note: To learn more about publication settings in Visual Studio®, see the official documentation.

  1. Log in to Plesk.

  2. Install the component Microsoft Web Deploy using Plesk Installer.

  3. (Only for servers with Web Pro and Web Host edition licenses) Enable the option Web Deploy publishing in Service Plans > plan_name > Hosting Parameters > Advanced and click Update & Sync to apply the changes.

  4. Go to Domains > example.com > Hosting & DNS > Hosting Settings, enable the option Web Deploy publishing, and click OK or Apply to apply the change.

  5. Download the Web Deploy publishing settings file by clicking Web Deploy Publishing Settings in Domains > example.com.

  6. Open an application in Visual Studio and select Build > Publish [AppName].

  7. Click Import and browse for the configuration file downloaded from Plesk.

  8. Click Validate Connection to confirm you have the correct settings.

Note: The settings will be updated automatically, except for the password. Enter the same credentials in use for the role-based FTP login.

Additional information

Plesk Administrator’s Guide - Web Publishing with Web Deploy (Windows)