• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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