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 Set Custom php.ini file on my Web Hosting Service?

Sometimes you are required to set custom php environmental variables or update php settings for...

How to disable shutdown option from start menu in Windows 2003/2008 server?

Sometimes, Windows VPS/Dedicated server clients shutdown their system by mistake and thenafter...

How to Setup Terminal Client Access License (CAL) in Windows Server?

By default, two users can connect to Remote Windows server via Remote Desktop. In certain...

How to disable RC4 ciphers from the Windows Server 2008?

Microsoft suggests using the TLS 1.2 Security Encryption to their clients since it has the...

How to Disable LAN Sync Feature In Dropbox Client To Stop Unwanted UDP Traffic?

Dropbox is an easy to use Cloud storage and File file-syncing Service. It allows you to share and...