The Default Web Site that is created when you install
Internet Information Server (IIS) 4.0 from the Windows NT 4.0 Option Pack is
pre-configured with its own catalog. For organizational purposes, you can
remove it and create a new one with its own storage folder, or you can just
leave it as is.
To set up a catalog for any virtual server that you
have, do the following:
- Check to see that your site is set to be indexed. To
perform this check, do the following:
- Click Start, point to Programs, point to Windows NT 4.0
Option Pack, point to Microsoft Internet Information Server, and then click
Internet Service Manager to start the Microsoft Management Console
(MMC).
- Click the plus sign (+) to expand the Internet
Information Server tree.
- Click the plus sign (+) to expand the ServerName tree (where ServerName is the name of your Web server).
- Click the plus sign (+) to expand the virtual server
you want to configure.
- Right-click the Web server name and click
Properties.
- On the Properties sheet, click the Home Directory
tab.
- On the Home Directory tab, make sure that the "Index
This Directory" check box is checked. If it is not checked, check it now and
click Apply.
- Click OK and close the MMC.
- Create the folders to store the catalogs.
Before
you actually create the catalog, create the folders in which the catalog will
be stored. As stated above, it is recommended that you store the catalog
outside of the content area of your Web site.
For example:
c:\inetpub\catalogs\ could be the primary storage location of all your
catalogs.
The catalog folder has to have a unique name and unique
storage location. For organizational purposes, you could name the folder the
same name as the virtual server.
For example:
c:\inetpub\catalogs\catalog1 for the first catalog
and
c:\inetpub\catalogs\catalog2 for the second catalog
Using Windows
Explorer, create the folders to store your catalogs and proceed to step 3. When
you create the folders, make sure that the System account and the
Administrators group have full access to the folder that the catalog will
reside in. This should be the default for c:\Inetpub; however, this may not be
the case if you decide to put the catalog folders elsewhere on your
system.
- Create the catalogs using Index Server Manager.
- Click Start, point to Programs, point to Windows NT 4.0
Option Pack, point to Microsoft Index Server, and then click Index Server
Manager.
Click the plus sign (+) to expand the Index Server tree on
Local Machine. Notice that there is already a catalog for the Default Web Site
called Web. This catalog is stored in c:\Inetpub. The storage location of the
catalog is in the right pane of the Index Server MMC. Do not create a new
catalog for the Default Web Site at this time. If you want to store it in the
same directory structure as your other catalogs, you can come back and delete
it and create a new catalog. When you have read through the rest of this
article, you will be familiar enough with Index Server to do this. - Right-click Index Server on Local Machine, and then
click New.
- Click Catalog to start the Add Catalog Dialog
box.
- For Name, enter the name of your virtual server or any
name that you want to associate with the catalog. It may be practical to enter
the name of the virtual server for organizational reasons.
- Set the location of the catalog. This is the folder you
created to store the catalog in Step 2. Use the Browse button to point to the
directory you created for this catalog. It is important to store each catalog
that you create in its own folder.
- When you have selected the appropriate folder, click
OK.
- In the Add Catalog dialog box, click OK. When you see
the prompt that states "Catalog will remain off-line until Index Server is
restarted," click OK. Leave the MMC open and proceed to step 4.
- Apply the catalog to the virtual server. To do this, select
the catalog you just created, which is listed under Index Server on Local
Machine and will be the name you entered in step 3e.
- Right-click the catalog name, and then click
Properties.
- Click the Web tab.
- In the Virtual Server drop-down list, click the name of
your virtual server that you created the catalog for.
- Click OK to apply the settings.
- Stop and restart Index Server to create the new
catalog. Right-click Index Server on Local Machine, and select Stop. Right-
click Index Server on Local Machine and select Start.
- Close the MMC.
- Open the Web that uses the catalog in FrontPage. On the
Tools menu, click Recalculate Hyperlinks. This step will re-initialize the
FrontPage Search Component with the Index Server Catalog.
Index Server will take a few minutes to generate the catalog
and index the virtual server. You should be able to search your site soon after
you create the catalog.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
214835
Search returns results from wrong Web
If you receive the following error message
the Indexing Service
may not be running on the Web server. To correct this problem, follow these
steps:
- Start the Indexing Service snap-in. To do this, follow
these steps:
- On the Windows Start menu, point to Search, and then click For files and folders.
- Under Search Options, click Indexing Service.
- Click to select Indexing Service and then click OK.
- Start Index Server.
- Create a new catalog by using the procedure outlined
earlier in this article.
When adding a new catalogue to the service for a web site make
sure to edit the tracking properties of the web site to specify the web site
itself.