PDA

View Full Version : accidentally deleted public html file, can I fix this?



billyblackwood
01-16-2004, 12:58 AM
Hi, I am a novice new owner of a webpage
http://www.dj-topcat.com
I accidentally deleted the public html file in admin
is there a way to restore the admin defaults? what
can I do?

thanks in advance

:(

loopforever
01-16-2004, 03:04 AM
Unless you have backups, no.

Sorry :(.

DirectAdmin Support
01-16-2004, 11:05 AM
All you can do is either 1) re-create the public_html folder and re-upload the website or 2) delete the domain, and re-create it so that the defaults will re-appear (You'll lose all email settings and things like that if you use #2)

John

Shortleap
12-10-2004, 01:39 PM
I accidentally did the same thing, and you said.
re-create the public_html folder - John, How would one go about doing this? I dont as much care about salvaging my website, because I had just torn it down for a top-bottom rebuild. But please expand on this.

jmstacey
12-10-2004, 03:52 PM
Go into the directory of the domain in question (/home/username/domains/domain.com/) and create the public_html directory, as if you were creating any other directory,
and then chmod it 750.

It can all be done through the FileManager as far as I know.