Kbase 20471: Creating an Additional Web Site on the Same Server
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
How to create an additional web sites on the same machine
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
SYMPTOM(s):
Microsoft IIS 4.0
FIX:
OUTLINE:
========
PART I : How to create and configure an additional site.
PART II : Restrictions and capabilities when naming virtual directories on the new site.
Part I
======
Creating and Configuring an Additional Site
I. Create the Site
1. Open the IIS Service Manager (Start->Programs->Window NT 4.0 Option Pack->Microsoft Internet Information Server (MIIS)->Internet Service Manager).
2. Go under Internet Information Server and find the name of the host where the new site will be created.
3. Right click on "Default Web Site" and press New-> Site
4. New Web Site Wizard will appear and name the site any name, for this example use "training"
5. Press Next
6. Select the IP address to use for this website, please select host IP address
7. Press Next
8. TCP Port for this web site should use: Define any other port other than 80 (Default Web server port), for this example use 8080
9. Press Next
10. Enter the path for your home directory: Browse through the directory structure and select where application/web files should be placed, i.e., D:\xyz
11. Press Next
12. What access permission do you want to set for this home directory: by default READ and SCRIPT access is enabled, but also make sure to select "Execute" access
13. Press Finish.
Within the IIS Console, now you will see the Default Web Site and the newly created
site, "Training".
II. Configure the Site
14. Right click onto properties for the new site, "Training"
15. Go under the Web Site tab and make sure that you are using the correct IP address and have the correct TCP port defined
16. Verify under the Operators tab that Administrator has privs, if not, please add
17. Under Home Directory tab, you can set the Application setting "NAME", to any name of choice. This is referenced in the second frame (Application Settings) within the main frame there is a field named: NAME.
Part II
=======
Restrictions and capabilities when naming virtual directories on the new site
1. Since the "Training" web site is using another TCP port (other than the default port), you can set the same identifying virtual directory structure on both web sites.
For example, if you have a virtual directory named "/tttt" under the Default web site, you may also create a virtual directory named "/tttt" under the Training web site
2. Although, within the same web site, you may NOT have the same identifying name.
For example, under the Default web site, you may already have a virtual directory named "/tttt" defined. If you attempt to create another virtual directory with the same name ["/tttt"], under the same web site, IIS will change the name to "/tttt2"
3. Remember to always compare the information (on your new site) via the browser versus the information being displayed under the IIS Console. If the information being displayed is not the same, then something is wrong with the virtual directories structure on IIS. [Remember to enable "Directory Browsing Allowed", this will allow you to view all files within the directory).