1. Knowledge Base
  2. >
  3. Results
  4. >
  5. I Accidentally Deleted the public_html or www Folder

I Accidentally Deleted the public_html or www Folder

If you delete the www folder, your site should still load properly.

If you delete the public_html folder, you will need to restore a backup before the deletion occurs. HostGator can use a backup to complete an account restore; for more information regarding our automatic backups, please see:

To Generate and Download a Website and Home DirectoryBackup, please see:

Please contact our support via phone or Live Chat for assistance with completing a restore or if you don't need a restore, but want the public_html folder fixed.