How to Add IIS Role in Windows 2008 Server?

Internet Information Services (IIS) is a web server developed by the Microsoft for hosting web pages, web applications, and web services. In most cases, IIS web server is used to host ASP.Net based web applications, but it is also capable to serve the web applications built on PHP programming language. Unlike Apache web server, IIS provides you a console-based GUI to manage the websites, FTP sites, and related services.

Note that, if you've chosen Full OS Configuration to be installed on a Windows VPS, then all necessary software and components will be pre-installed. In case you've chosen Only OS Configuration, this tutorial will help you installing IIS role in your Windows Server 2008 VPS. This tutorial will also be helpful to Windows Server 2012 VPS customers since installation steps are almost identical.



  1. Login to your Windows server via Remote Desktop.

  2. Click on Server Manager icon displaying on the taskbar OR right click on Computer and then click on Manage option.

  3. On the Server Manager window, click on Roles → Add Roles.

    Click on Add Roles Link from Server Manager

  4. Click Next on Before You Begin screen. On the next screen, you will see the list of roles. Locate and select Web Server (IIS) and click on Next button.

    Select Web Server (IIS) Role from the List

  5. On the next screen, select different IIS Role Services you wish to install. Check each Role Service as per your requirement and then click on Install button.

    Select Required Role Servces for Web Server (IIS) Role

  6. Based on the Role Services you have selected, the setup will take few minutes to finish the installation process. The setup will show you post Installation Summary once IIS Role is installed successfully.



Add a Website in IIS Manager


Once IIS web server is installed, your next step would be adding a website. Let's see how to add a website in IIS manager.

  1. Click on Start → Administrative Tools → IIS.

  2. On the Connections pane, click on Sites.

  3. In the Actions pane located at right-hand side, click on Add Web Site.

  4. A new dialog box will appear, add required fields as shown in following screen capture.

    Add a New Website from IIS

    Here,

    • Site Name - Enter the name of a website you want to add.
    • Physical Path - Browse the path where the web-content for this website will reside.
    • Type - select HTTP from the drop down.
    • IP Address - Select the IP address only if you want to assign a dedicated IP address to this particular website, otherwise keep an option All Unassigned as it is.
    • Port - Keep default port as 80.
    • Check the checkbox Start Web site Immediately and click OK.



  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to install NopCommerce manually?

If you own Windows VPS and don’t have any control panel(SolidCP, Plesk etc) configured on it but...

Upgrade of Windows Server 2003 Standard to Windows Server 2008/2012 OS in the VPS

Windows Server 2003 OS is now out of the market and Microsoft will not release any new updates or...

How do I login to Windows VPS Management Portal?

This article will guide you on how to login to VPS Management Portal. You can obtain login...

Network Wide Port Blocks

For the security reasons, we have blocked inbound traffic for following ports: Telnet - Port...

Fix :: Error 126 while starting remote desktop service, the specified module could not be found

Problem Statement Could not connect to Windows VPS Error Message Remote Desktop can't connect...