• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Newbie/ Please help me

K

kami@

Guest
Hi guys,
I need desperately to reconfigure a site on my server and I am trying to run the following command which I know is the right command:
=============================================
C:\Program Files\SWsoft\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=dnotest.com
=============================================


When I open the command prompt window and paste this code there and click enter, I get the following error:
=============================================

C:\Documents and Settings\Administrator>C:\Program Files\SWsoft\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=dnotest.com
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
===============================================

Could someone please tell me what am I doing wrong here???

Thanks in advance
 
Ok,
I found the solution:

I tried the following command and it worked:

"%plesk_bin%\websrvmng" --reconfigure-vhost --vhost-name=domain.com
 
Hi,

%plesk_bin%
%plesk_dir%
%vhost_dir%

are the system variables, they were wrote during Plesk installation.
 
Back
Top