• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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