Wordpress development/production sites in parallel
<p>I have a production Wordpress site, but in parallel I want to run a development site. Once I am done with the development, I want to deploy it to the production site without ruining the current site regarding, users, comments, etc. 
My current solution is to duplicate the production site, and re-install again- but than I can lose information. 
Did not find any solution that can do it. 
Any suggestions? </p>