Public access of Website hosted in Azure Windows Server VM

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.

image

Then download RDP file, so that we can logon to it remotely.

image

Click on RDP file which got downloaded and enter username and password. VM will be opened remotely as shown below.

image

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”.

image

Navigate to the confirmation section and click on install.

image

Once installation completes, click on Close.

image

Now lets go to Azure Login and Add 80 port as an endpoint. Navigate to endpoints tab of VM and click on Add.

image

Select Add Endpoint and click next.

image

Select 80 port (which is the default port for Default website) and name it as “http”. Click finish.

image

Once completed you can browse the default website with jash.cloudapp.net url.

image

Happy Coding!!!

You may also like...

One Pingback/Trackback