Base de connaissances

How to change virtual hosts directory in Plesk for Centos  Imprimer cet article

In Plesk for Centos, transvhosts.pl utility can be used to change the location for all virtual hosts:
 

# /usr/local/psa/bin/transvhosts.pl --help

In the following example, the location is changed to /home directory:

# /usr/local/psa/bin/transvhosts.pl --dest-dir /home --correct-scripts

 
If You getting error 503 after changing virtual hosts location
Connect to the server using SSH.
Update PHP configuration using the following command: # plesk bin php_settings -u

Cette réponse était-elle pertinente?

Powered by WHMCompleteSolution