Once you’ve installed the Application Server role to your server, you’ll naturally want to check and see if it works. The Manage Your Server wizard should now show the Application Server role installed, so click on Manage This Application Server.
This brings up the Application Server Management Console (MMC). Expand the Internet Information Services (IIS) Manager, then expand your server (local computer), and then the Web Sites folder. You should see the Default Web Site listed, and it shouldn’t say (Stopped). If it does, you need to troubleshoot using the Event Viewer.
For now, ignore the files and folders listed in your default web site, we just want to test to make sure IIS is running and serving a web page. On the server itself, launch Internet Explorer (IE) and browse to http://localhost/. You should see the “Under Construction” web page if the server is running correctly.
Okay, at this point you have a working IIS installation. Go back to the Application Server Management Console and right-click on the Default Web Site. Choose Properties to bring up the web site properties dialog. Then click on the Home Directory tab and change the Default Site path if required to your hosting setup.
Because of the security enhancements in Windows Server 2003 and IIS 6, ASP pages are not enabled by default. Yes, we did install the server for ASP.NET, but ASP and ASP.NET isn’t the same thing.
In IIS 6, technologies like ASP, ASP.NET and so on are called Web Service Extensions. The same is true of Server Side Includes, PERL and other CGI scripting, PHP and a host of other add-ons to web servers. The security model being “don’t activate what you don’t need” we only want to allow ASP pages or other technologies if we’ll use them. Now that we’re trying to use ASP, let’s activate ASP.
In the Application Server Management Console, click on the Web Service Extensions folder underneath the server name. You should see that Active Server Pages are Prohibited, this is the default configuration of IIS 6.x as it is locked down by default.
Simply set the extension to Allowed and the web server will start serving ASP pages. Repeat this for Server Side Includes too. This is required so that client pages parse the <include> variable in a page.
That’s it for the basic clean IIS 6.0 installation. |