How can I set up a dev environment?
Category: Server Usage
I want to have a copy of the site that I am able to test changes on before I push them to the public site. How would I do this?
You can copy your files and your database to a subdomain and make a duplicate of your site. I'm not sure what kind of site you have but the instructions for WordPress and Drupal at the following links.
<a href="http://www.inmotionhosting.com/support/edu/drupal-7/duplicate-drupal-test-site">308: Making a duplicate Drupal test site</a>
<a href="http://www.inmotionhosting.com/support/website/wordpress/duplicate-wordpress-site-for-testing">Making a duplicate WordPress site for testing</a>
Moving other websites are the same steps as the WordPress and Drupal instructions. If you are developing on DreamWeaver or another local code editor, you can upload the site to a test subdomain to see how it works before uploading to your domain. The following is a tutorial on how to create a subdomain.
<a href="http://www.inmotionhosting.com/support/website/cpanel/how-do-i-create-a-subdomain-in-my-control-panel-cpanel">How do I create a subdomain in my control panel (cpanel)?</a>
Hope this helps!
Like this Question? Tweet