Publishing Web Renames Default Document Incorrectly

ID: Q202729


The information in this article applies to:
  • Microsoft Internet Information Server version 4.0
  • Microsoft FrontPage 98 for Windows


SYMPTOMS

When you publish a Web, which has a default document named (for example Index.htm) to a virtual server, and the default document is set to Index.htm, the default document is renamed to Default.htm.

Default.htm is not specified as one of the default documents in the virtual server's properties in the Microsoft Management Console (MMC).


CAUSE

The FrontPage Server Extensions only use the documents set in the master properties for IIS FrontPage and only recognizes the first default document in the list for any Web server capable of using multiple default documents.


RESOLUTION

Set the default document in the master properties for IIS; to do this, do the following:

  1. Click Start and point to Programs.


  2. Point to Windows NT 4.0 Option Pack.


  3. Point to Microsoft Internet Information Server.


  4. Click Internet Service Manager.


  5. Click the plus sign (+) next to Internet Information Server.


  6. Right-click the server name and click Properties.


  7. Click the Edit button for the WWW Service.


  8. On the Documents tab, add the document name you want to use.


  9. Click OK three times.


In order to make FrontPage aware of the change, you must stop and restart the Web server. This can be done quickly from the command line by doing the following:

  1. Click Start and click Run.


  2. Type CMD in the open box.


  3. Type the following at the command prompt:

    net stop iisadmin /y
    net start w3svc
    net start msftpsvc
    net start smtpsvc


Note: If you are not using the Microsoft FTP Server or the SMTP Service, you do not need to restart them.


MORE INFORMATION

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

Q185380 Directory Listing Denied When Browsing a Web Site

Additional query words: 97 publish change front page

Keywords :
Version : WINDOWS:; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: May 11, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.