Step By Step Setup IIS On Azure Windows Virtual Machine

In this article, we will learn how to set up and activate IIS on Windows Virtual machine on Azure Portal.

In my previous article, we have learned how to create and manage Windows Virtual Machine in the Azure Portal.
 
In this article, we will see how to set up IIS on Windows Virtual Machine.
 
Prerequisites
  • Microsoft Azure Subscription (MSDN subscribers or sign up for a one-month free trial).
To configure IIS on your Azure virtual machine, follow the steps below.
 
Step 1
 
Go to your Virtual machine and start the Server Manager as shown in below screen.
 
Step By Step Setup IIS On Azure Windows Virtual Machine
Step 2
 
Select Add roles and features option from the welcome screen.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 3
 
Click on Next from the Add roles and features Wizard.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 4
 
Choose Role-based or feature-based installation to configure a single server and click on Next.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 5
 
From Server Selection option, click on Select a server from the server pool and click on Next.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 6
 
In server roles please choose Web Server(IIS) and click on Next.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 7
 
From the Add roles and features wizard pop up, check Include Management tools and click on Add Features.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 8
 
From the Features option for now just click on Next (if you have any Prerequisites to install you can select from the Features list).
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 9
 
From the Web Server role (IIS) just click on Next.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 10
 
From Role Services choose IIS 6 management compatibility and click on Next.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 11
 
Click on Install and wait for the Installation and setup.
 
Step By Step Setup IIS On Azure Windows Virtual Machine
 
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Step 12
 
Once you received the Installation Succeeded message, click on close.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
That's it, to test the IIS installation, go to Server Manager, right click on Server name and open IIS manager.
 
Step By Step Setup IIS On Azure Windows Virtual Machine 
 
Select Default Web Site and click on Browse, It will open the http://localhost on the port no: 80.
 
Step By Step Setup IIS On Azure Windows Virtual Machine
 
You can see the default HTML page is running as shown in below screen. 
 
Step By Step Setup IIS On Azure Windows Virtual Machine
 
I hope this will help you while you set up your first Windows Virtual Machine.
 
Stay tuned for more articles on Azure, share with your friends if you find this helpful. I'd love to hear your feedback.