How to install and configure a new web application

In this article I will show you how to configure and install a new Internet information Services application. IIS is Microsoft’s web-hosting platform and is one of the best on the market, at least from what I know. In terms of  popularity, I think IIS comes 2’nd after Apache. Many system administrators interact with this application that’s why I think this article will serve well for those that need guidance with IIS. I’ve been working with IIS for quite a while now and I can definitely say that it’s easy to use and intuitive. There are couple of things needed to know form the beginning, but after a while working with IIS becomes easy. Remember that you can interact with this hosting platform with Powershell or command prompt, this is especially good for those working with automatizations and scripting.
I will show you how to create a new app using the GUI. To open the IIS management console navigate to Administrative tools and double click on Internet Information Services (IIS) Manager:

If you didn’t added the Administrative Tools to your startup menu, you can find these tools in Control Panel. We can open the IIS manager using Microsoft’s management console (mmc.exe), using the run shortcut inetmgr or from the Server Manager console (choose whatever method works for you):
To create a new web application navigate to the Sites section and right click it and press “Add Web Site”:
You will then be redirected to the following window:
As an example, we will configure a website called
Here you will have to set the site’s name, physical path, app pool and bindings. You can specify whatever site name you desire, this is how the site will be displayed in IIS. Application pools are used for separating worker processes for different web applications. A worker process is responsible for executing code, serving requests and so on. By default, when you configure a new web app, the application pool with the same name is created automatically. We have to specify the site’s physical path, I’ve chosen the following location: C:\inetpub\wwwroot\
Next, we have to configure the web binding. A binding is an identification form for our website. In the first field we can select the web protocol that will be used for reaching this application. You can choose either HTTP or HTTPS. In the adjacent field we can enter the IP address for our web app, but we will set it to “All Unassigned”. Next, the port number has to be entered for HTTP this is 80. In the “Host name” section we will enter our website’s name. This is how the IIS server will react to a new request: once it receives the request, it will look for the protocol and port number. If it finds several web apps with the same binding, it will look for the host’s name. When the web app is found, the request is sent directly to it. Remember that you cannot have two apps with the same host name.
   One the website is configured, it will appear in the Sites section:
There are many things you can configure to an application. In the following articles we will discover more interesting features of IIS. I thought of making short articles for each section of this web-hosting platform because it’s easier to follow and understand. Enjoy IT training day and enjoy your day!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s