Applicable to:
- Plesk for Windows
Question
How to reconfigure the PleskControlPanel website in IIS?
Answer
The website "PleskControlPanel" in IIS is used to serve the Plesk user interface.
Connect to the server via RDP. Reconfigure the website in IIS, use the following instructions:
Plesk for Windows 10.4.4 and newer
Plesk for Windows 10.4.4 and newer:
You can reconfigure the Plesk website using the Plesk Reconfigurator:
- Delete the "PleskControlPanel" website from IIS.
- 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
C:\> "%plesk_bin%"\\websrvmng.exe --configure-anonymous-access
"%plesk_bin%"\\websrvmng.exe --remove-sites-cache
"%plesk_bin%"\\websrvmng.exe --configure-plesk-website -
for Plesk Onyx
C:\> "%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:
-
Delete the "
PleskControlPanel
" website from IIS. -
Execute the following commands in turn:
C:\> "%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.
C:\> "%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:
C:\> "%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
Comments
0 comments
Please sign in to leave a comment.