HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Website deleted on name change (http://www.howtoforge.com/forums/showthread.php?t=46759)

tristanlee85 25th June 2010 03:57

Website deleted on name change
 
I had a site originally named "www.cfcoding.com" and went into the site manager to change the domain to just cfcoding.com with an auto-subdomain of www. The vhost file was removed and changed to the new domain prefix, and the new docroot was created, but my old one was completely removed. No backup was in place unfortunately... is everything gone for good?

Mark_NL 25th June 2010 09:27

Hmm that's strange, last time i did something like this, ispconfig just renamed my old dir to the new one .. are you sure it's not just renamed? ;)

linux does not have a file undelete option :(

edge 25th June 2010 09:49

Looks like this is still working.
http://www.cfcoding.com/blog/index.cfm

Mark_NL 25th June 2010 09:52

I'm telling you, the dir just renamed ;)

tristanlee85 25th June 2010 14:24

It's not renamed, at least not that I can see. The reason that still works it because Tomcat is handling the mapping for the CFM pages. Though, it only half works because Tomcat only maps CFM pages, which is why no stylesheet or images is showing.

Code:

[root@ns cfcoding.com]# ls web/
error  favicon.ico  index.html  robots.txt  stats
[root@ns cfcoding.com]#


tristanlee85 28th June 2010 20:37

Can anyone else confirm this is the case, and if so, can we:
  • Move the site from the old directory to the new
  • Leave the old directory in place and create a new one for the different domain
  • Warn before removing the directory

Not much I can do now. I do have an older version I can put back in place so I'm not at a total loss, but some sort of action would be helpful for the future.


All times are GMT +2. The time now is 17:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.