2 sites point to same web app install

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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!

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
 
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).
 
Back
Top