How to Configure ASP.Net Website in IIS

Introduction

In this article, you will learn how to configure ASP.NET Website in IIS.

We can create an application that should be configured on IIS to be run. In those cases, you can use the following procedure on your system and can easily configure it on IIS.

Step 1. First of all, you need to open the Administrative Tools, for that, you can either open it from the Start Menu or you can write "inetmgr" in the Run Command, they both will take you to the Administrative Tools.

Administrative Tools

In the Administrative Tools, many options will be available, among these options one of the options will be named "IIS Manager", double-click on this option to open it.

IIS Manager

Step 2. Now your IIS Manager Wizard will be opened, here on the left-hand side the Connections Pane will be available, in this the Pane Server Name will be available; expand that server.

Connections Pane

On expanding, two options will become available, one option will be Application Pools and the other will be Sites, right-click on the Sites and choose "Add New Website".

Application Pools

Step 3. First, provide the name for this New Website, then provide the Physical Path from where this new Website is to be retrieved, then provide the IP Address, and then click on the "Ok" button.

Physical Path

Now your Website is added to the Sites Folder.

Now you need to click on the Applications Pool, in the Applications Pool, stop all the other sites that are in the Running State and only run the site that you had added previously.

 Running State

Step 4. On the Extreme right-hand side, Action Pane will be available, in the Action Pane click on the Basic Settings.

Basic Settings

Drop Down the .Net Framework Version and choose the .NET Framework v4.

 .Net Framework

Now your Configuration Setting Process is completed.