How To Guides Org

How To Install And Enable The IIS Web Server On Your Windows Server 2008 VPS

I recently got a Windows VPS and started playing around with it. Here’s how you can enable the built-in IIS web-server to host a ASP website on your Windows VPS/server


Enabling The NET Framework, ASP and IIS Web Server Features

1. Step Open your Windows server using the remote desktop connection as explained here

2. Step Now click on Start and then hover over Administrative Tools and then click on Server Manager:


ENLARGE

3. Step Alright, now in the left pane there are a couple options – click on Features and you should see a link on the right “Add Features”

4. Step You can now add Net Framework 3.5 and THIS WILL also enable the IIS Web Server used to host websites like ASP sites on your server

5. Step When you click the option ASP.NET you will be asked to add the roles for this feature – confirm! Important: Also check the option ASP (without the NET) so you can host ASP sites

Confirm the following options are TICKED:

To confirm your configuration works we are going to enter localhost into the address bar of our browser – however, you need to make sure the following features are selected, especially Static Content so you will see the default document page:

6. Step For your private network you may want to enable basic authentication – for improved security enable Digest authentication

7. Step Ok, now finally we are about to install the Wev Server IIS, review your selection:

8. Step Confirm that everything works: Open Internet Explorer and type http://localhost and hit Enter – if you see a page IIS then congratulations, you just installed your first IIS web server! If you don’t go back to the Features page and right-click on the Role “Web Server” => click Add Roles Services and everything you need as explained above

Video:

Controlling Web Server Web Services

Back on the Server Manager page, you will see a new role in the sidebar

You can now start or stop related services on this page:

What Is The Default Web Page For My IIS Web Server?

The default directory is:

Change or store any files in there and you should be able to access it by simply appending the filename e.g. http://localhost/myfile.txt