Question
How to restore default content of the domain/subscription directory?
Answer
-
For Linux:
-
Connect to the server via SSH
-
Copy the content using the following command:
# cp -R /var/www/vhosts/.skel/0/. /var/www/vhosts/example.com/
Note: it is also recommended to restore permissions for the files with the command:
# plesk repair fs example.com
Or applying the following article:
How to restore default permissions in the virtual host directory on Linux?
-
-
For Windows:
-
Connect to the server via RDP
-
Copy the content from
%plesk_vhosts%.skelhttpdocs
to the website home directory.
For example,%plesk_vhosts%example.comhttpdocs
.
-