I have a host header site in IIS 6 that has phys directory
say e:\\templates
there I have a folder design1 where there is a web app
and there index.aspx
say first site has host header aaa.com
when I type in browser aaa.com/design1/index.aspx - works like a champ
I have created a second site in IIS 6 that points to the same phys directory
and say host header there is bbb.com
In IIS Manager I again created a application for design1
everything is the same!
but when I type bbb.com/design1/index.aspx it says 404 resource not found -
index.aspx!!!!
Question:
Have I made some mistake in a setup or there is a design problem?
Thanks!
Damien - 05 Sep 2007 13:27 GMT
On Sep 5, 1:03 pm, <i...@sites4agents.com> wrote:
> I have a host header site in IIS 6 that has phys directory
> say e:\\templates
[quoted text clipped - 18 lines]
>
> Thanks!
Check that ASP.Net has script maps registered under bbb.com. You can
do this using aspnet_regiis (the -lk option). If that's fine, and both
sites are meant to be "exactly" the same, then export both
configurations out of IIS and check the differences in the two files -
I believe the only differences should be in the Location attributes.
It's definitely possible to run multiple applications using the same
aspx files.
Damien
Patrice - 05 Sep 2007 19:02 GMT
In addition to Damien I would also mention that you can have multiple header
names for the same site (depending on what you are trying to do).
--
Patrice
>I have a host header site in IIS 6 that has phys directory
> say e:\\templates
[quoted text clipped - 19 lines]
>
> Thanks!