Configuring a development/staging/production site scheme

Many websites use a multi-tiered infrastructure to promote content between development and production environments. One of the simplest is a three-tier development, staging, and production configuration. In this scenario the website and code is developed on a development instance. Once the code is ready, it is promoted to staging, where it is tested and confirmed to be working properly. Finally, it is promoted to production for general use.

In this recipe we will set up a basic three-tier website scheme on a single website in an NLB configuration. The same process can be performed for a non-NLB website by only providing one computer name to the scripts.

Getting ready

This recipe assumes an ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.