Configuring IIS for ASP.net Application – Windows 2012

30 / Sep / 2016 by Rahul Jaiswal 0 comments

This blog aims at basic steps for setting up ASP application(Website) on IIS. The screenshot and steps are mentioned using Windows 2012 server edition. However, the same steps are also valid for Windows 2008 Server. We will be installing .Net 3.5 and 4.5 during the further steps.

Steps To Follow

1. Open Server Manager and click add roles:
iis-80-using-aspnet-35-and-aspnet-45-1097-image001

2. On the first screen of “Add Roles and Features Wizard”  select  ” Role-bases of feature based installation”:
iis-80-using-aspnet-35-and-aspnet-45-1097-image003

3. Click Next. The next screen requires confirmation for the server/roles being installed. Scroll down the list and select Web Server (IIS):
iis-80-using-aspnet-35-and-aspnet-45-1097-image005

4. Click Next. On the next screen select the following options as shown in the figure below:
iis-80-using-aspnet-35-and-aspnet-45-1097-image007

Now, scroll down further and select the roles/services as shown below:
iis-80-using-aspnet-35-and-aspnet-45-1097-smasp4.5

5. Click  Next. Next screen asks for confirmation and shows a list of services/roles selected during the previous screens:
iis-80-using-aspnet-35-and-aspnet-45-1097-confirmnew

6. Click Install and wait for the installation wizard to complete:
iis-80-using-aspnet-35-and-aspnet-45-1097-image019
Now, you can Close and exit the wizard.

Now, let us open IIS and configure a site:

1. Press Window keyindex and type IIS.  The search will show Internet information services (IIS) Manager. Click and open the IIS  Manager.

2. Expand the server to the node labeled as Sites. Now click Add Website on the top right corner:
how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-13

3. Provide the values in the next window and click ok:
how-to-install-and-configure-IIS-on-Windows-Server-2012-R2-14

Now, the basic setup is done and you can access the site by browsing the server over your instance’s public IP.

FOUND THIS USEFUL? SHARE IT

Leave a comment -