Guide to setup a Web Server in an Microsoft Azure

This tutorial assumes that you are familiar with the basic functions of provisioning machine in the Azure Management Console.

Under virtual machines click New

how-to-set-up-web-server-in-azure-virtual-machine2

provision a virtual machine

how-to-set-up-web-server-in-azure-virtual-machine3

Once the virtual machine has been provisioned, go to the endpoints tab in the azure management console.

image

Click on Add

image

This will launch  the endpoint add wizard, click on the forward button

image

Select HTTP from the dropdown menu and click the check mark button

image

repeat the process for HTTPS ( and FTP if you need FTP access)

image

This is how my list of endpoints looks like once I am done

image

To test, remote access to the machine by clicking on the Dashboard tab and click Connect.

image

After logging in -with the credentials specified when the server was provisioned- the dashboard will be shown, click on Add roles and features.

image

Click next in the prompts that come up until you get the the role selection screen. Select Web Server (IIS)

image

Click the next button, if you will be using FTP click on the FTP Server, leave the other default checks as they are,

image

Click next and Install to complete these step.

image

After the server finishing installing these components, notice the inetpub folder that has been created in the c: drive.

image

we can now enter our DNS entry  in a browser and see the default IIS page

image

lets make a quick change to this page

image

Add a simple html heading code:

image

save and refresh the browser you used to see the IIS default page, the word TEST will now be shown.

image

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *