Setting up a dev environment from a production snapshot.

Posted July 29, 2017 2.4k views
WordPressUbuntu 16.04

I tried to set up a dev enviornment by creating a new droplet from an existing snapshot, but it redirects to my production website. How and where do I change urls so that i can use the new droplet for development and testing.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


You need to provide more information so we can help you, please answer these questions:

What kind of web app are you working on? What language/framework do you use?
How do you access your production environment? How are you trying to access the new dev environment?

You probably need to change environment specific configuration files so you can choose to work on the new environment for example use the dev database server not the production one.

Hope this helps.