In this lab you will:
After installing Windows Server and logging in, the Server Manager is opened automatically, as shown in Figure 1.
Click on the Add roles and features link, which open an installation wizard. Click the next button, accepting the default settings until you reach the Select server role page, as shown in Figure 2. Select the Web Server (IIS) role and a popup is rendered similar to Figure 2. Click the Add Features button and then the Next button.
Accept the defaults on each window until the end of the wizard where the Install button becomes enabled. Press the Install button and once installed, press the Close button to complete the installation, as shown in Figure 3.
Now you can open the IIS management console and add a web site.
Before you create the web site, download the sample ASP.NET MVC web site from here. Select the releases as shown in Figure 4.
Download the most recent version of the web site by clicking on the CsharpGuitarBugs.zip file and saving it locally as shown in Figure 5.
Then, place the contents into the c:\inetpud\CSharpGuitarBugs directory. When completed, you should have a structure similar to that shown in Figure 6.
Open the IIS Management console, right-click on the Sites and select the Add Website… menu item, as shown in Figure 7.
After clicking the Add Website… menu item, a window as shown in Figure 8 is rendered.
The requirements of the web site are:
Q: Why is the port number changed to 81 in Figure 8? A: Because the Default Web Site is already using port 80. The ‚primary key‘ for a binding is IP:PORT or IP:PORT:Hostname.
Click the OK button and the web site is created.
If you try to open the CSharpGuitarBugs web site now, you will get either a 500.19 error or a Server Error in ‚/‘ Application Configuration Error, this is because the dependent .NET framework and ASP.NET MVC binaries are not yet installed. Please continue to Lab 2 – Install the Web Platform Installer, here, to complete the installation of the web site dependencies.