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.
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:
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double click Internet Services Manager.
- Right-click the Web site from the list of different served sites in the left pane, and then click Properties.
- Click the Home Directory tab.
- Type the path to the Web site in the Local Path box or click Browse to select the folder in the file browser.
- Click OK to save the settings.
Creating the Structure by Using Windows Explorer
- 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.
- 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.
- To change the name of the folder, type over the default name ("New folder"). This name is automatically highlighted.
Alternatively, click the folder name in Windows Explorer, and then change the name.
Creating the Structure by Using Command Line
To create the structure by using a command line:
- Click Start, point to Programs, point to Accessories, and then click Command Prompt.
- Use any of the following UNIX commands (these commands work in Windows) to change and create folders:
- cd: Use this command to change the folder.
- mkdir: Use this command to create a new folder.
- rmdir: Use this command to remove a folder, if the folder is empty.
For additional information about setting security for folders in IIS, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
HOW TO: Share Site Directories with SMB
HOW TO: Set IIS Permissions for Specific Objects
HOW TO: Set Folder Security for Shared Folders
For additional information about preparing to migrate data from UNIX to Windows, click the article number below
to view the article in the Microsoft Knowledge Base:
HOW TO: Migrate Web Site Data in a UNIX-to-Windows Migration
Article ID: 324056 - Last Review: February 28, 2014 - Revision: 4.2
- 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
|kbnosurvey kbarchive kbhowto kbhowtomaster KB324056|