• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Remove Virtual Host Template files?

Laurence@

Regular Pleskian
How can I remove the default files and directories from Plesk when a new domain is created? The css, img, test directories and the index.html and favicon.ico? I want httpdocs to be blank when a domain is created as WP is auto-installed.
 
The default files are copied from the directory: /var/www/vhosts/.skel/0/httpdocs
You can try to remove the contents from this httpdocs folder and then create a new subscription, then the httpdocs folder of your new subscription should be empty

See also: Website Directory Structure
 
I'm 99% sure that it won't be repopulated, as this directory is only populated during the installation of Plesk when it discovers that it's a new installation. But maybe a Plesk staff member can tell you more....
 
Back
Top