Hi, I have a sub-domain http://forums.pcabout.com/ Code (markup): I want to delete it completely (all files and database). What is the safest way to do that? I want to create another site instead of that? Should I hard delete all the files and database? Will it effect in any manner? Guys please help me reg this.
- Delete the directory (and all files in that directory) in the root of the domain where the files resided. e.g /home/usernm/public_html/forums/* - add Redirect 410 /forums/ in htaccess (this is error code for GONE, the resource no longer exists) - Remove the "sub-domain" from your hosting account - Remove the host record (A or Cname) from DNS zone.. if you have access to it) i wrote about removing an entire website here http://blog.corewebsolutions.com/hosting/how-to-remove-entire-website-from-the-internet/ You can save your database my just leaving it in place. Save the config settings from your forum script so you can reapply them to the new install and same database.... if thats what you are doing. You can also just move the forum to a new location (sub-domain or root domain) and just change the paths in the config or settings file to the new location, then delete the old sub-domain and redirect all traffic to the new one e.g. Redirect 301 /forums/ http://new-loc.exampledomain.com/ Code (markup):
I just want to hard delete all the files and database. I don't want any content of that sub-domain. It was just for test. My host provider has limited a 2 sub domain, so I am deleting this sub-domain and creating a new blog. So hard deleting will be a issue or should I try the method which you have told above?