Skip to content

Instantly share code, notes, and snippets.

View rhoeijmakers's full-sized avatar

Rob Hoeijmakers rhoeijmakers

View GitHub Profile
@cjsteel
cjsteel / Staging&ProductionUsingGit.md
Last active March 10, 2025 12:20 — forked from mylesthedev/Staging&ProductionUsingGit
Staging and Production Server using Git.

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