>-----Original Message-----
>"Steve Burch" <sburch.TakeThisOut@jii.com> wrote in message
>news:1c0c01c38773$07cd7500$3501280a@phx.gbl...
>> We are running IIS V5.0 on Windows 2000 Server and I am
>> having problems with setting up multiple domain names
>> pointing to the correct files.
>>
>> First off, it appears that if I have the same Default
>> Document name defined in more than one of the servers, I
>> am not confident that I will be routed to the correct
>> default file. (i.e. if default.htm is defined for /site1
>> under server1 and for /site2 under server2 I may
>> get /site1/default.htm when trying to go to the server2
>> site.
>
>That's irrelevant and unrelated to host headers.
>
>> Secondly, say I create unique default documents for each
>> server, I am able to go to the correct default document,
>> but If I am required to log in and I am redirected to
>> login.cfm in server1. After I successfully go to the
>> correct login.cfm for server1 I can't go to the correct
>> login.cfm on server2. I keep getting the server1's
>> login.cfm, but not the supporting gifs, etc, for
server1.
>>
>> I know that this description sounds convoluted but the
>> problem is real and the irritation with IIS is real.
>>
>> I wonder?
>>
>> 1. could their be a cache problem that retains the first
>> login.cfm?
>
>No.
Tom,
I know that you say that this is irrevelant and unrelated
to the host headers but let me relay what I just did.
On our server we have two sites that require a login to
get into the protected areas of their individual site.
The developers of each site decided to use the
filename "login.cfm" for their login entry form document.
I did the following:
1. restarted the IIS server, on the server box, by going
into services, hyliting the "IIS Admin Service" and
clicking the "Restart Service" button.
2. I opened up IE on my personal system and browsed to
site 1. <a style='text-decoration: underline;' href="http://site1.domain.com/login.cfm" target="_blank">http://site1.domain.com/login.cfm</a> and it went to
the correct login.cfm which included the all of the
supported gif files, and I was able to log in.
3. I then, from my personal system, browsed to site 2.
<a style='text-decoration: underline;' href="http://site2.domain.com/login.cfm." target="_blank">http://site2.domain.com/login.cfm.</a> At this point site 1's
login.cfm file appeared but without the supporting gif
files and I could not log in.
4. I then did step 1 again.
5. This time I went to site 2 first. Worked great.
6. went to site 1 and it failed the same way as site 2 in
the first test.
7. I thought that it may be my personal system so I went
to another system and immediately went to site1's
login.cfm and it failed just as it did on my personal
system.
8. This proved to me that it was something with the IIS
Server or the sites that was causing the problem.
9. I then changed the login.cfm filename on site1 to
alogin.cfm and did step 1 again.
10. Both sites worked great.
It appeares to me that somehow the login.cfm file is being
retained in some cache location, or some place on the
server when I call that file for the first time. From
then on, no matter what system that I use to browse to the
site the first login.cfm file that I successfully reached,
after I restarted the "IIS Admin Server" is the file that
I always go to.
Do you have any ideas? As you can tell by the filenames
You should know that I am using ColdFusion on the server.
Of course the problem could be with the ColdFusion but I
have not restarted the cold fusion, Just the IIS Admin
Server. It could also be with a cookie or session
variable, except that I get the same inital wrong file
from a completely different system.
Thanks for any help that you can give me.
Steve
>
>> 2. can someone walk me through setting up the virtual
>> sites?
>
>Lot's of info at:
>http://www.iisfaq.com/default.aspx?View=P24&P=1
>http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm
>
>> 3. Is this a known problem?
>
>No.
>
>> 4. Can we successfully have more than one "Host Header
>> Name" pointing to the same IP:port?
>
>Yes - that's why you need Host Headers, because of a
common IP/port.
>
>> 5. can someone help?
>
>Virtual servers/webs really have no knowledge of one
another as they are
>wholly independent. If you keep getting sent to the
wrong "server" after
>going to the first one, I would suggest start with
checking your code and
>logon logic.
>
>--
>Tom Kaminski IIS MVP
>http://www.iistoolshed.com/ - tools, scripts, and
utilities for running IIS
>http://mvp.support.microsoft.com/
>http://www.microsoft.com/windowsserver2003/community/cente
rs/iis/
>
>
>
>.
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: problem with multiple host headers using one IP address