Change The Home Directory In

The location where the files for your Web site are stored is called the home, or root, directory. You can specify which directory on your Web server is the home directory. Any files that are in any of the subdirectories of the home directory will be available as well. Make sure that this home directory, along with any of its subdirectories, has proper file system security applied. If someone bypasses the security of IIS, you must make sure that they only have read access permissions to the files. There are only a few exceptions to this rule.

You can also set up virtual directories to make other directories that are not underneath your home directory available for your Web site. See page 10 for more information on virtual directories.

The default location for the Web site that is created when installing IIS is C:\inetpub\wwwroot\. You can change this location to be another directory of your choice.

When users come to your Web site, the document that they first see is the default document. The default document must be placed in the home directory. See page 14 for information on setting the default document.

CHANGE THE HOME DIRECTORY IN IIS

Administiative Tools jajxj

Administiative Tools

H-ip Default FTP Site B-ijjl Administration Web Site jg,j|Default Web Site| B-% Default SMTP Virtual Server H-% Default NNTP Virtual St c:\program lilesVcommon Hestajistem' c:\inelpub\scnpts

CAProgram FilesVCommon FilesSMicrc CAProgram FilesVPhone Book Service CAProgram FilesVPhone Book Service CAWINNTWpebSprinters CAProgram Files\Microsoft Visual Stu>

tinlernet Information Si M * devserver

H-ip Default FTP Site B-ijjl Administration Web Site jg,j|Default Web Site| B-% Default SMTP Virtual Server H-% Default NNTP Virtual St

Lj_vti_bin LiPBSi PB S Data Piinters Cgj CrystalReportWeb L_l images Q visualaspdotnet Q_aspx .C]_private I—I _vti_cnf I—I _vti_log L3 _vti_pvt L3 _vti_sciipt LJ _vti_txt 4j] help.gif iisstart.asp ä] localstart.asp mmc.gif c:\program lilesVcommon Hestajistem' c:\inelpub\scnpts

CAProgram FilesVCommon FilesSMicrc CAProgram FilesVPhone Book Service CAProgram FilesVPhone Book Service CAWINNTWpebSprinters CAProgram Files\Microsoft Visual Stu>

□ In the Control Panel, double-click Administrative

Tools to open the Administrative Tools window.

Double-click Internet Services Manager to open the Internet Information Services window.

-0 Click EH to expand the list of Web sites on the Web server ([+] changes to PI).

_Q Click the Web site whose home directory you want to change.

~0 Click the Properties button (El).

□ Click Browse to open the Browse for Folder dialog box.

■ The Default Web Site Properties dialog box appears.

—0 Click the Home Directory tab.

□ Click Browse to open the Browse for Folder dialog box.

Was this article helpful?

0 0

Post a comment