Home > DeveloperSection > Articles > Host Asp.Net Application on IIS Web Server

Host Asp.Net Application on IIS Web Server


ASP.Net ASP.Net 
Ratings:
0 Comment(s)
 5763  View(s)
Rate this:

Host Asp.Net Application on IIS Web Server

In this Article I’m going to explain how to host Asp Dot Net application on IIS web server.  Here I’ve shown this example on Windows 7 operating system.  To host asp.net application on IIS (Internet Information Services), you’ve to follow some following system.

Step 1:  Open Internet Information Services (IIS) manager. To open this, open Run command and type ‘inetmgr’

Host Asp.Net Application on IIS Web Server

You can also achieve the same thing by going to Control Panel and clicking on Administrative Tools > Internet Information Services (IIS) Manager as displayed in the picture below.

Host Asp.Net Application on IIS Web Server

Step 2: Install IIS web server in your local System. To install IIS web server in local system, go to Control Panel -> Programs and Features -> Turn Windows features on or off.

Host Asp.Net Application on IIS Web Server

Now click on ‘Turn Windows features on or off’ then after following window will be appear.

Host Asp.Net Application on IIS Web Server

Step 3: Now, open Internet Information Service (IIS) manager.

Host Asp.Net Application on IIS Web Server

Here you can test that your local host running successfully. To check this, select Default Web Site and click on button ‘Browse’.

Host Asp.Net Application on IIS Web Server

Now to host Asp.Net application on IIS web server, do right click on Sites and select ‘Add Web Site…’ option.

Host Asp.Net Application on IIS Web Server

Now fill all appropriate information in textboxes as: Site name, Physical directory path of web site, Port No, binding type etc.

Host Asp.Net Application on IIS Web Server

Now your web site successfully hosted into IIS web server and it will be visible in Sites folder.

Host Asp.Net Application on IIS Web Server

Now you can browse your web site by clicking on button ‘Browse’ for testing purposethat is it run properly or not?

Now if you want to make some changes in your web site such as port number, binding type or any other thing, to perform this task you’ve an option ‘Advanced Settings… ’.

Host Asp.Net Application on IIS Web Server

Host Asp.Net Application on IIS Web Server

There is lots of an option through which you could manage your web site like Bindings, Basic Settings, and Advanced Settings etc.

This is a complete description on hosting ASP.NET application on IIS web server. I hope it will help you in understanding hosting Asp.Net web site or pages on IIS web server.


Don't want to miss updates? Please click the below button!

Follow MindStick