Hi, I Unfortunately delete public_html folder, how I can restore or recreate it?
STOP!
This thread appears to be heading in the wrong direction.
@Apple1991, it appears you're a client of a hosting company; nowhere in this thread do I see any indication that you own and manage the entire server. Note that if I'm right, then the Folder icon with the arrow indicates something called a
symbolic link and it's entirely for your convenience. You don't need it, and your site will still work without it. To recreate it, all you need to do is reset your domain as the default domain under
Domain Setup as has been mentioned above. This should be safe; it should NOT delete anything.
If that doesn't work then it's likely you've not deleted this link, but rather the main public_html directory at
domains/EXAMPLE.COM/public_html. Check to see if it's there. If it's there, check to see if it's content is there? If both are there, then if recreating the link as above doesn't work, then you need to re-upload your site or restore it from a backup you've made (likely no-one else has made a backup for you), or from your original upload. If you have neither you can ask your hosting company for assistance but likely you'll need to start over if they don't have a copy (they probably don't).
If that copy of
public_html isn't there, you may be able to recreate it using ftp or your file manager, but if not, then your hosting company will need to do it for you.
If your hosting comany can't do it for you, then we cannot, either, nor can we tell you how to do it.
If I'm wrong, and this is your own server, then it appears you don't have enough knowledge to fix this and you may need to hire one of us to do it for you. Many of us on these forums offer server support and maintenance, including me and others.
I've moved this thread; on our forums it's a
user-level difficulty.
Jeff