David
Tue Apr 03 00:49:22 CDT 2007
Please check in the Event Log to see that you have an System error
message indicating something to the effect that another website with a
duplicate binding is attempting to start and that's not allowed.
If so, this is what you should do since you want Test Web Site to work
(and not the "Default Web Site"). Within IIS Manager UI, select
Default Web Site and right-click\Tasks\Stop the website. Then go to
the Test Web Site and Start it.
Make sure Test Web Site has bindings for the correct IP, Port, and
Host header, because that determines what Test Web Site will respond
to.
It's really not "where do I tell it to look at the Test Web site". It
is "where do I tell the Test Web site to start responding to my
requests" -- and that is with the bindings, which is like the first
tab of the right-click property sheet you get for a given website icon
in the IIS Manager UI.
I suspect your problem right now is that migration faithfully copied
over your old website, which had the same Friendly name of "Default
Web Site", as well as its binding, but the binding for the existing
Default Web Site and the migrated Default Web Site are the same. This
is because "Default Web Site" has the same binding by default upon
installation unless you customize it -- so if you migrated the
"Default Web Site" from one computer to another, the migrated website
will have a duplicate binding. There is nothing the migration wizard
can do, other than maybe warn you about the duplication, because it
does not know which should be kept.
You cannot have duplicate bindings because when IIS receives a request
from the client for a given binding, IIS cannot duplicate and send the
same request to multiple websites because then you'd get multiple
responses for that one request, and the browser will be very confused.
Thus, only the first started website of a given binding succeeds. This
is likely the "Default Web Site" in your case.
So, all you need to do is stop the "Default Web Site" from starting
because then "Test Web Site" can be configured to auto-start with
those bindings. There is no problem having multiple websites with the
same binding because only one of them can be actively running at any
time.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Apr 2, 5:25 am, "news.microsoft.com" <bec...@co.delaware.pa.us>
wrote:
> That is my problem. I left the Original called Default Web Site and changed
> the one I migrated over to Test Web Site. Everytime I try to access it, no
> luck. If I move it to the Default Web Site, it works. But that would mean I
> need to manually move each thing to the Default Web Site. Somewhere, I
> cannot figure where, IIS is looking at the Default Website, Where do I tell
> it to look at the Test Web site?
>
> "David Wang" <w3.4...@gmail.com> wrote in message
>
> news:1175296942.280077.26440@l77g2000hsb.googlegroups.com...
>
>
>
> > How about stopping the first Default Web Site and leaving the second
> > one that was migrated running?
>
> > Right now, you have two different websites with different IDs with a
> > friendly name of "Default Web Site" - so there is no duplication/
> > problem. You just need the migrated website to respond instead of the
> > original.
>
> > //David
> >
http://w3-4u.blogspot.com
> >
http://blogs.msdn.com/David.Wang
> > //
>
> > On Mar 30, 12:38 pm, "news.microsoft.com" <bec...@co.delaware.pa.us>
> > wrote:
> >> I did my Migration, everything seem to copy over, except in IIS, I have 2
> >> Default Web Sites. Under the First Default Web Site I have nothing, under
> >> the second I have everything that was copied over. If I start the second
> >> one
> >> I get nothing when I try to go to the website, if I stop the second and
> >> start the first one and copy a virtual directory from the second that
> >> don't
> >> work to the first one...it seems to work. But I don't want to have to
> >> copy
> >> everything from the second to the first. Should I Just delete all the
> >> WebSites underneath and re-do the Migration?- Hide quoted text -
>
> - Show quoted text -