Search this site...

Personal Web Server & Internet Information Services

To run ASP scripts, Personal Web Server (PWS) or Internet Information Services (IIS) must be installed on Windows. A PWS is intended for Windows 95 or 98 or NT. The IIS is intended for latest versions of Windows. This installation sets up your computer to act as a server when it is executing the ASP code that you will write. Of course, when your computer's browser is requesting the page, it acts as a client. Installing any one of the Web servers mentioned above, should create a folder called inetpub and a subfolder called wwwroot on the hard-drive. All of the ASP scripts must be saved with an .asp file extension under the wwwroot folder or in a subfolder under wwwroot, as long as you remember to set IIS to the folder in which your ASP code exists. For more information on installing the PWS or IIS, please visit http://support.microsoft.com/ and search for IIS Installation.

Defining a new website in IIS 6.0

Defining a new site in Windows 2003 is easy. First open the Internet Information Services (IIS) Manager by pointing to Start | Programs | Administrative Tools | Internet Information Services (IIS) Manager. Next, click on the "local computer" to expand for ore options and then, right click on "Web Sites." Figure 1 shows the IIS interface.

Figure 1IIS window showing available options for managing internet services
Figure 1 IIS window showing available options for managing internet services

After right clicking on "web sites", choose new | web site. After that, you'll be presented with a web site creation window; see figure 2. This window and the subsequent windows will guide you to define a website.

Figure 2 Web Site Creation Wizard
Figure 2 Web Site Creation Wizard

Click "Next" on this window web site creation window if you want to continue defining a website. The next window will ask you for "web site description" and there you should enter a brief description for your website. The purpose of this description is to help you distinguish this website from any other websites you define on that server. Also, the description is required just like file name to save document on a computer. See figure 3 for this window.

Figure 3 Web Site Description Window
Figure 3 Web Site Description Window; type the description of your website in the text box of the window.

In the next window, you will specify how you want the server to determine which website to serve for Scripting Master's website. If you are not running more than one website on the same server, leave this as the default and click Next. If you are running more than one website on the same server, you can use host header value such as www.scriptignmaster.com. See figure 4.

Figure 4 IP Address and Port Settings Window
Figure 4 IP Address and Port Settings Window

After you enter a host header value (or selected an IP address or different port) from that window, click "Next" to continue. In the next window, you are asked for the website's home directory. The home directory simply refers to a folder that contains all of the files and folders (images, webpages, etc.) that pertain to your website. Browse to that home directory click "Next"; see figure 5 for this window. After you click "Next", a new window will display whether the web site configuration was successful or not.

Figure 5 Web Site Home Directory Window
Figure 5 Web Site Home Directory; indicate here where your root folder your website is located.