Microsoft KB Archive/324056

= HOW TO: Set Up a Folder Structure for a UNIX-to-Windows Migration =

Article ID: 324056

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Small Business Server 2000 Standard Edition
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q324056



IN THIS TASK
SUMMARY
 * Selecting a Location for the Web Site Folders
 * Creating the Structure by Using Windows Explorer
 * Creating the Structure by Using a Command Line

REFERENCES



SUMMARY
When you migrate data, first you must create the basic structure for your Web site or Web sites. To create the Web site structure, you must create the home folder for your Web site, and then you create the internal structure. You can skip the latter step if you are using zip or tar methods or a shared folder system such as Network File System (NFS) or Server Message Block (SMB) to transfer your data. This article describes how to migrate your existing structure to Windows.

back to the top

Selecting a Location for the Web Site Folders
By default, Windows and Internet Information Services (IIS) configure the C:\InetPub folder to contain IIS and other Internet publishing sites. However, you can create folders to hold Web sites anywhere on the disks on your server. To do so, you must create a new folder to act as the root folder for the Web site (this process works the same as the DocumentRoot directive in Apache). You may want to create a holding folder for all of your Web sites, create individual folders to hold Web sites across a number of disks, or create folders wherever you need them, including in user folders.

To set the document root for an existing Web site:
 * 1) Log on to the Web server computer as an administrator.
 * 2) Click Start, point to Settings, and then click Control Panel.
 * 3) Double-click Administrative Tools, and then double click Internet Services Manager.
 * 4) Right-click the Web site from the list of different served sites in the left pane, and then click Properties.
 * 5) Click the Home Directory tab.
 * 6) Type the path to the Web site in the Local Path box or click Browse to select the folder in the file browser.
 * 7) Click OK to save the settings.

back to the top

Creating the Structure by Using Windows Explorer

 * 1) After you select the document root for your Web site, open the folder by using Windows Explorer.

To do so, either use Windows Explorer to locate the folder or right-click the Web site in Internet Services Manager, and then click Open.
 * 1) Create a folder structure for your Web site.

To add a new folder to the structure, right-click anywhere in the Windows Explorer window, point to New, and then click Folder.
 * 1) To change the name of the folder, type over the default name (&quot;New folder&quot;). This name is automatically highlighted.

Alternatively, click the folder name in Windows Explorer, and then change the name.

back to the top

Creating the Structure by Using Command Line
To create the structure by using a command line:
 * 1) Click Start, point to Programs, point to Accessories, and then click Command Prompt.
 * 2) Use any of the following UNIX commands (these commands work in Windows) to change and create folders:
 * 3) * cd: Use this command to change the folder.
 * 4) * mkdir: Use this command to create a new folder.
 * 5) * rmdir: Use this command to remove a folder, if the folder is empty.

back to the top

