• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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