I need advises on how to best setup a test environment for testing of mainly HTML5, Node.js apps which will be updated by diverse developers via Git and then tested by users around the World. When a revision is fully tested on all devices and code reviewed the release code shall be easily deployed with one command to the public live server, which might be a separate VPS/droplet at DigitalOcean. The current public live server now runs Ubuntu 12.04 64bit LEMP. We want to keep the two environments securely separate. In the event of an attack on the live server we want to be able to temporarily switch IPs of domain to point to the “test”-environment instead.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!