Modified 2001/05/14 - JSB and PJ
for Windows NT 4.0 - slightly different for MS Server 2000
How to create Web sites and Virtual Directories
I. How to create Web sites
- Unless remote services are enabled, the creation of the new web site must be done on the terminal of the actual host server system, eg., \\skySpec1. (The physical web site can actually be anywhere on the organization's LAN.)
- Make a folder (using Windows Explorer) for your web site, Windows Explorer > New Folder, e.g., I:\Inetpub\wwwroot\NewFolder .
- Launch Internet Service Manager (Start>Programs>Windows NT Option Pak 4>MS IIS>Internet Service Manager. (NB: This will be slightly different on Server 2000 installations.)
- In the MM Console panel displayed right click the skySpec1\Default Web Site entry, selecting >New >Site
- Enter a description, e.g., NewFolderName and click "Next" button.
- IP address - select, e.g., 63.209.229.202 and let the TCP and SSL entry remain defaulted and click "Next" button.
- Enter the path, eg., I:\Inetpub\wwwroot\NewFolder and click "Next" button.
- In new panel checkbox "Allow Read Access", "Allow Script Access", and "Allow Write Access" - but NO "Execute Access".
- Click "Finish" button, thus creating the new web site (Stopped).
- Back in the MM Console panel right click on the new web site entry, selecting "Properties".
- In the displayed "Properties" panel from the MM Console click on "Web Site" tab.
- In the "Web Site Identification" box in the same panel enter a "Description" string and "IP Address" entry.
- Click on the "Advanced" button bringing up the "Advanced Multiple Web Site Configuration" panel where you will add "Host Header Name" aliases. (The web site cannot start until the HTTP 1.1 aliases ("Host Header") names are all uniquely defined.)
- Now enter "Host Header Names", clicking the "Add" button to bring up an new entry box, with corresponding IP addresses and TCP ports, e.g., 63.209.229.202 | 80 | NewWebSiteName (IP|port|Name order - notice this one has no "www" prefix to ensure mapping with and without the "www" prefix).
- And a second one, e.g., 63.209.229.202 | 80 | www.NewWebSiteName .
- NB: If your site is "dual homed" with two IP addresses repeat the above two entries with the extra IP address making a total of four entries.
- Click the "OK" button after adding desired entries.
- Don't forget to Apply your changes.
- Now, from the MM Console, right click and Start the web site.
Back to top of page
II. How to create Virtual Directories
The creation of Virtual Directory MUST be done on the terminal of the actual host server system, eg., \\skySpec1. (The notion of a Virtual Diretory is to provide a root space, on the hosting server, beyond which directory navigation cannot proceed. This prevents guests from unauthorized navigation through Virtual directory serving from the host.)
- Make a folder (using Windows Explorer) for your web site, Windows Explorer > New Folder, e.g., I:\Inetpub\wwwroot\NewFolder .
- Launch Internet Service Manager (Start>Programs>Windows NT Option Pak 4>MS IIS>Internet Service Manager. (NB: This will be slightly different on Server 2000 installations.)
- In the MM Console panel displayed right click the skySpec1\Default Web Site entry, selecting >New >Virtual Directory
- In the "new Virtual Directory Wizard" panel enter an alias name with which to access the Virtual Directory, e.g., NewFolderName and click "Next" button.
- Now enter the actual physical path of from where the contents of the Virtual Directory will be served, eg., I:\Inetpub\wwwroot\NewFolder, and click the "Next" button.
- In new panel checkbox "Allow Read Access", "Allow Script Access", and "Allow Write Access" - but NO "Execute Access".
- Click "Finish" button, thus creating the new Virtual Directory.
Back to top of page
III. How to create FTP sites
Note: Proceding presumes the prior creation of a Web Site, see above.
- Start the Internet Information Services Manager (from Start>Administrative Tools>MS Internet Information Server>Internet Information Manager).
- Now select computer node where new FTP site will be created, eg., \\skySpec1.
- Select FTP Galaxy as the virtual root directory (FTP Galaxy, currently the only one available, etc.).
- Now, from the Internet Information Manager panel, click on the <Actions> drop-down box, selecting New>Virtual Directory.
- Enter the alias name field, eg., "NewSiteName" and click <Next>.
- Now enter the physical path, eg., "F:\NewSiteFolder" as is presumed to have been done above. And click <Finish>.
- Now, from the Start bar click Programs>Admin Tools>User Manager for Domains>New User and enter "User Name" and "Full Name" (use same as User Name) text fields, as well as "Password" and "Confirm Password" text fields queried. You may want to select a password option or use the default, "User must change password on first logon".
- Open a NT Explorer window and right click on the "NewFTPsite" folder just created and select <Properties>.
- In the Properties panel select the <Security> tab and click on the <Permissions> button.
- In the Directory Permissions panel remove "EVERYONE" and add "Administrators", the "NewUser" and "IUSR" (Internet User).
It is now time to test FTP access:
- Run WS_FTP Pro and click the <Connect> button.
- In the Connect panel select the new FTP site, click <Advanced Profiles> button.
- In new panel select <StartUp> tab (middle one), then in <Remote Site> text box enter "/NewSiteFolderName" (make sure to use a forward slash).
Note: If ftp user can't get in, check in User Manager to see if Account Locked Out is checked. Set initial remote folder in Advanced (then Save). NB: Use www.directory, not ftp.directory.
Back to top of page