• 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 Regenerate vhost folders structure

antonio.abansys

New Pleskian
Server operating system version
CentOS7
Plesk version and microupdate number
obsidian 18.0.50
Hi to all,

I have a question, how can I regenerate the folders structure for a specific domain?
I put you in context: I have a client that had the great idea to delete all folders inside their file manager (httpdocs, logs, error_docs etc..)
There are any way to regenerate these structure again without creating again the domain?

Thank you!
 
Did you try to run # plesk repair web example.com? Not sure if that will regenerate the directory structure, but it's worth a try I guess.
 
Why not restore from a backup? I can already tell you that plesk repair fs domain.tld won't work if httpdocs was also deleted. You're best bet would be to restore from a backup.
 
There are any way to regenerate these structure again without creating again the domain?
If that is the only domain of the subscription you can change the hosting type to "no hosting" or "forwarding" and change it back afterwards. That will recreate the directories.
 
Back
Top