• 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 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