Discussion Locked

IIS 4 Setting up multiple sites

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a production Intranet site setup on IIS 4. What I want to do is have three copies of this site, one for dev, one for testing and one for the production site. I am trying to figure out the best way to set this up. Only a few people will have access to the dev and testing site while everyone will have access to the production site. Any help on the best way to go about this would be great. I am giving away 500 points to whoever comes up with the best solution to help me with this.

5 replies

by gregory w. smith

Assign the server 3 IP addresses. Setup IIS virtual WWW and FTP servers pointing to your Production, Development, and Testing directories. Limit user access as necessary.

If the users have file access to the directories as an in-house box, you may not NEED FTP, and you could do NT shares with permissions as necessary.

by mark fenwick

If you want to keep three separate copies of the site on the one server you could achieve using the following process:

1) Copy your production site to a new folder e.g. c:\webs\test.
2) Restrict access to c:\webs\test via NTFS file permissions to the users you require.
3) Add a new Web Site to start the new web site wizard.
4) Give the new site a unique name.
5) Change the Web Site's port number to something unique (say 48080)
6) Set the Web Site's home directory by c:\web\test.
7) Disable anonymous access.
8) Complete the wizard and start the new Web Site.
9) Repeat the process for the development site.

To access the new web sites from you browser or development tool append the webs port number to the site's url (e.g. http://myserver:48080)

Hope this helps.

Mark

This discussion is closed to new replies.