Creating a mirror version of my website for testing and development

by Bluefire   Last Updated August 16, 2015 18:01 PM

I run a small, personal website off one domain; I don't use a CMS, instead writing my code in an IDE and pushing it to my server with FileZilla. Is it a good idea to make a mirrored version of my website, where I can upload new, untested code without worrying about breaking anything (since if I do, I can just wipe it and replace it with the tested, proven code from my main directory)? If so, is there a simple way of doing that, without making an entirely new directory? Or is there a better way that doesn't involve anything that I've said because I'm thinking about it the wrong way?

Related Questions