• 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

default folders after domain setup

bradz

Regular Pleskian
Hi, When one sets up a new domain or restores domains from an ftp backup, one gets a set of default folders in the httpdocs and httpsdocs folders with files (folders include css, test, img, picture_library & plesk-stat). I would like to turn this feature off so that it does not add these default folders. How do I do this? I prefer no extra files or folders.
Thanks for your ideas, thoughts and help.
Sincerely,
Brad Zehr
 
Thanks so much IgorG!

Thanks for getting in the correct direction IgorG.
In case it helps others, I will add a few short notes on it.
I was able to use ssh, go to the skeleton files folder using

cd /var/www/vhosts/.skel/0/
then
Used ls -al (list files and folders)
then deleted folders with
rm -r -f foldername
and deleted files with
rm filename

And it worked! When I created a new domain on the server it showed the changes.

I do have one question I would like to resolve.

I did not see the folders plesk-stat and picture_library in the skeleton folder.
How can I stop these 2 folders from being added to each domain?
Maybe they are in a different skeleton folder, I will look.
Any help is greatly appreciated.
Sincerely,
Brad
 
Back
Top