• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question websrvmng.exe is not working in plesk onyx

Amar

New Pleskian
Hi,

I have to remove a vhost and then repair it, earlier it used to work on plesk 11.5, recently we shifted to plesk onyx but it seems onyx doesn't have websrvmng executable.

"%plesk_bin%\websrvmng.exe" --remove-vhost --vhost-name=domain.com
"%plesk_cli%\repair.exe" --reconfigure-web-site -web-site-name domain.com

Below is the output :

C:\Users\administrator>"%plesk_bin%\websrvmng.exe" --remove-vhost --vhost-name=mytestwebsite.com
'"C:\Program Files (x86)\Parallels\Plesk\admin\bin\websrvmng.exe"' is not recognized as an internal or external command

Can anyone suggest any alternative of websrvmng to remove vhost in plesk onyx?
 
Hi Amar,

pls. note, that Plesk versions may differ, when it comes to CLI - commands. The full list of possible commands for Plesk Onyx on Windows servers can be viewed here:

=> Command Line Utilities Overview ( Reference for Command-Line Utilities, Plesk for Microsoft Windows )

Can anyone suggest any alternative of websrvmng to remove vhost in plesk onyx?
There are several options. Here are some examples:
  • To remove a subscription, you would use "plesk bin subscription.exe --remove example.com"
  • To remove a domain alias, you would use "plesk bin domalias.exe --delete example.com"
  • To remove a subdomain, you would use "plesk bin subdomain.exe --remove -subdomains forum -domain example.com"
More options and example commands can be found at the above mentioned Plesk Onyx documentation.​
 
Back
Top