Need to have multiple sites on same server without conflict
Posted on 2004-04-01
On IIS I just installed an application in a subdirectory under C:\INETPUB\WWWROOT.
For the sake of argument, let's call it "ABC" so it's C:\INETPUB\WWWROOT\ABC.
The application expects its files to be in the root directory, meaning
its ColdFusion scripts and Image references presume it's at the
top of the directory tree, but it's not and I don't want to put it
there, since it may step on other things I have going there.
I figured there's a way to make a new Web site on the same server
and then configure it so that its root / home directory is
C:\INETPUB\WWWROOT\ABC. I did and it works as I want it
to, but the only way I can get that new Web site to run is if I
shut down the main one (not good). The two Web sites seem
to be conflicting, as suggested by the error message
"The service could not be started because it is not correctly
configured. Make sure that its server bindings do not conflict
with other sites running on the same machine."
In the main site, I tried to shut down every capability on
the C:\INETPUB\WWWROOT\ABC directory, including
READ, SCRIPTS and so on -- didn't fix the problem.
I neither understand what is conflicting nor how to fix it.
I think this is IIS 4. It's running on NT Server 4.0 Service
Pack 6a. Yes, I know it's old.