In this small post we are going to look into how quickly we can configure Azure Windows Server 2012 VM and access a website which is hosted in its IIS. We need to add 80 port (default port for default website) as one of its endpoint through which all http traffic will be served. Lets first get started by creating an Azure Win Server 2012 VM.
Then download RDP file, so that we can logon to it remotely.
Click on RDP file which got downloaded and enter username and password. VM will be opened remotely as shown below.
Click on “Add Roles and Features” now in opened “Add Roles and Features Wizard”, navigate to “Server Roles” and select “Web Server (IIS)”. This will prompt to “Add features that are required for Web Server (IIS)?”. Select “Add Features”.
Navigate to the confirmation section and click on install.
Once installation completes, click on Close.
Now lets go to Azure Login and Add 80 port as an endpoint. Navigate to endpoints tab of VM and click on Add.
Select Add Endpoint and click next.
Select 80 port (which is the default port for Default website) and name it as “http”. Click finish.
Once completed you can browse the default website with jash.cloudapp.net url.