How to reconfigure the PleskControlPanel website in IIS

Created:

2016-11-16 13:13:22 UTC

Modified:

2017-04-24 11:14:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to reconfigure the PleskControlPanel website in IIS

Applicable to:

  • Plesk for Windows

Symptoms

You need to reconfigure the PleskControlPanel website in IIS.

Resolution

The website "PleskControlPanel" in IIS is used to serve the Plesk user interface.

To reconfigure the website in IIS, use the following instructions:

Plesk for Windows 10.4.4 and newer

Plesk for Windows < 10.4.4

Plesk for Windows 10.4.4 and newer:

You can reconfigure the Plesk website using the Plesk Reconfigurator:

  1. Delete the "PleskControlPanel" website from IIS.
  2. Launch Plesk Reconfigurator->Repair Plesk installation->Plesk Services as administrator.

To recreate the PleskControlPanel site, execute these three commands:

  • for Plesk 10.4.4 - 12.5

    "%plesk_bin%"\\websrvmng.exe --configure-anonymous-access
    "%plesk_bin%"\\websrvmng.exe --remove-sites-cache
    "%plesk_bin%"\\websrvmng.exe --configure-plesk-website
  • for Plesk Onyx

    "%plesk_bin64%"\\websrvmng.exe --configure-anonymous-access
    "%plesk_bin64%"\\websrvmng.exe --remove-sites-cache
    "%plesk_bin64%"\\websrvmng.exe --configure-plesk-website

Plesk for Windows < 10.4.4:

  1. Delete the " PleskControlPanel " website from IIS.

  2. Execute the following commands in turn:

    "%plesk_bin%"\\PostInstallHelper.exe --perform --action=ChangePSACPProvider --parameters=iis
    "%plesk_bin%"\\websrvmng.exe --configure-anonymous-access
    "%plesk_bin%"\\websrvmng.exe --remove-sites-cache
    "%plesk_bin%"\\websrvmng.exe --configure-plesk-website

In Plesk 10.3, the option "configure-plesk-website" is not available. The following commands are required for version 10.3, while for earlier versions they can be skipped.

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="skins/branding" --physical-path="%plesk_dir%var\\branding\\panel\\skins"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="sitebuilder" --physical-path="%plesk_dir%admin\\htdocs"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="sitebuilder/sites" --physical-path="%plesk_dir%admin\\htdocs\\sites"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="sitebuilder/skins/branding" --physical-path="%plesk_dir%var\\branding\\sb\\skins"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="smb" --physical-path="%plesk_dir%admin\\smb\\application\\public"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="admin" --physical-path="%plesk_dir%admin\\panel\\application\\public"

If the "Customer and Business Manager" component is installed on your server, you will also need to execute the following commands:

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="sso-site" --physical-path="%plesk_dir%sso\\htdocs" --access-ssl-negotiate-cert=true

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="sso-relay" --physical-path="%plesk_dir%sso\\htdocs"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="HSPC" --physical-path="%plesk_dir%billing\\plugins\\htdocs" --custom-scripts=perl

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="billing/gw" --physical-path="%plesk_dir%billing\\htdocs\\gw"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="plesk-billing" --physical-path="%plesk_dir%billing\\htdocs"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="store" --physical-path="%plesk_dir%billing\\store\\htdocs"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="plesk-billing/plugin" --physical-path="%plesk_dir%billing\\htdocs\\plugin"

"%plesk_bin%"\\websrvmng.exe --add-panel-virtual-dir --vdir-name="plesk-billing/lib-themes/default/lib-billing" --physical-path="%plesk_dir%billing\\lib\\lib-themes\\default\\lib-billing"

To reconfigure the PleskControlPanel website in Plesk 10.x, simply switch the web provider to Apache and then back to IIS, as described in this article:

#213906205 : [How To] Changing Plesk Control Panel web provider using command line

Have more questions? Submit a request
Please sign in to leave a comment.