• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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