• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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