Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

2 sites point to same web app install

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
info@sites4agents.com - 05 Sep 2007 13:03 GMT
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!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.