PDA

View Full Version : Reset Files to default



tomadmiraal
12-10-2006, 07:22 AM
Is there way to restore the default files that has been added to the domain account at the moment that the domain was added to the server?

I want to use this ti disable hosting WITHOUT removing DNS, MAIL or other settings....

Its easy to remove subdomains (include files) and FTP accounts. but I cant find a way to remove the userfiles and put back the default files WITHOUT removing the domain.

Is there anybody who knows a way?

Regards,

Tom

hostpc.com
12-11-2006, 06:00 AM
The default files consist of the /cgi-bin directory, index.html and logo.jpg ... these should be easy enough to recreate after doing an rm -rf in the /domains/domain.com/public_html directory

tomadmiraal
12-11-2006, 07:17 AM
Originally posted by hostpc.com
The default files consist of the /cgi-bin directory, index.html and logo.jpg ... these should be easy enough to recreate after doing an rm -rf in the /domains/domain.com/public_html directory

This is clear! and pretty easy to do. BUT I have to do it from an other host (remote)!

I think there is also an solution for... but the next problem is, how to rebuild the index.html like DA is doing....

Isn't it easier to create an option CMD_API_DOMAIN_RESTORE_FILES or something:S

Regards,

Tom