Reset Files to default

tomadmiraal

Verified User
Joined
Dec 8, 2006
Messages
9
Location
Netherlands
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

Verified User
Joined
Aug 2, 2003
Messages
1,178
Location
Schenectady, NY
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

Verified User
Joined
Dec 8, 2006
Messages
9
Location
Netherlands
hostpc.com said:
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
 
Top