Creating Virtual Machine And Configuring IIS Web Service

Introduction

In this article, we will learn about creating a Windows Server 2012 R2 and configuring IIS web service in Windows Server for hosting web pages.

Requirements

Windows Azure with Subscription

The following are the important steps to create and configure IIS on Windows Azure

Step 1

Click here to login into Azure Management Portal

Step 2

Once your Azure dashboard appears; click the virtual machine tab in that and click create a virtual machine.

Step 3

In the virtual machine, create a wizard and enter the following requirements such as DNS Name, image, size, username, password and region followed by clicking next.

Step 4

Azure management portal will take some time and finally the message appears as “Successfully created virtual Machine SimpleServer12”.

Step 5

In the virtual machine tab, select your created instance, named “SimpleServer12” and click connect option.

Step 6

.rdp file is a downloadable from the portal. Open the remote desktop connection file by double clicking them.

Step 7

Once the remote desktop connection file is opened; click the connect option.

Step 8

In the Windows security tab Window, click the username and password that is used, when creating a virtual machine and click OK.

Step 9

Finally, our Windows Server 2012 R2 data center is ready to use. On Windows Server 2012, open Server Manager.

Step 10

In the Server Manager, click the option “Add roles and features” under the local Server.

Step 11

In the “Add roles and features wizard”, begin the installation by clicking next.

Step 12

Select the installation type as a role based or a feature based installation and click Next.

Step 13

In the Server selection option, click a Server from the Server Pool and click Next.



Step 14

In the Server role, select “Web Server(IIS) and click add features, when the pop up appears” and click Next.

Step 15

Again, add .NET framework 3.5 features and click Next.

Step 16

In the Web Server IIS Role, click Next.

Step 17

In the Web Server IIS role, select all the features under the management tools, IIS management console, compatibility and click Next.

Step 18

In the confirmation Window, all the selected features will appear and click Install.

Step 19

In the installation Window, it starts the installation after some time. The feature installation starts. Click close when the installation is done.





Step 20

In the Server Manager dashboard, we will find the IIS Manager option.

Step 21

In IIS Server, we will find the Server name, IPv4 Address, Manageability etc.



Finally, host the Web page into inetpup in c:/ Drive.