Skip to content

Instantly share code, notes, and snippets.

@viakodelabs
viakodelabs / Staging&ProductionUsingGit.md
Created Mar 19, 2019 — forked from cjsteel/Staging&ProductionUsingGit.md
Staging and Production Server using Git.
View Staging&ProductionUsingGit.md

If you are running a large project such as a website or ansible server you will want to test new features before pushing them into production then something like the following setup may work for you.

For this example imagine your url is mysite.ca and you want a development/staging site on a subdomain which is dev.mysite.ca

Setup

For websites

Create the website's domain and subdomain