• 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

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