Deploy a new IIS Web Site with Azure DevOps Pipelines

I was experimenting with deploying a completely new Web Site to a machine with a brand new IIS installation to see what are the required parameter to do a basic deployment.
I share here my findings.

  • The best approach is to deploy with a deployment group job. This way can use the IIS tasks that Microsoft provides that don’t rely on WinRM.
Deployment group job
  • When we want to create a brand new Web Site we have to double check to enable the Add Binding option and the configure authentication.
IIS Website Config
  • For this exepriment my binding was to unassigned IPs and port 80.
Auth config
  • I also configured a dedicated App Pool for this Web Site.
Application Pool config
  • The next 2 steps in the Deployment Group Job where pretty easy: we deploy the website content and then we start the Web Site.

Well done! Now we can deploy a Web Site with Azure DevOps! This is the final result for my experiment.

One thought on “Deploy a new IIS Web Site with Azure DevOps Pipelines”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.