Don
Wed Sep 27 09:13:10 CDT 2006
It seems the key phrase (that I kept missing) in order to have multiple
websites (not virtual directories under one website) is that either the DNS
server must be updated, or the hosts file must be updated.
I don't have access to a DNS server on my intranet that I know of (unless it
is included somehow or not routinely installed with Windows 2003?) and I've
never heard of a "hosts" file till now (but found it on Wikipedia).
I suppose another alternative is to assign different ports to each website
(with the same IP address) and keep track of them that way. Sounds like
configuring the hosts file with each new website is probably the best option
for me.
Thanks for your help.
"Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
news:xn0erpo8tjcrrqv00v@news.microsoft.com...
> You need to tell us what you want to do. Do you want multiple websites, or
> multiple folders (virtual directories)?
>
> What you describe for your IIS 5.0 machine is not multiple websites. In
> your example of
http://computerName/website, "website" is a folder (or
> virtual directory).
>
> If you want to keep it like this, then you should not create new websites,
> you should be creating folders, or virtual directories.
>
> If you want to create multiple websites please have a look at these
> articles:
>
> "Using Host Headers to host multiple websites on IIS 6.0"
>
http://www.gafvert.info/iis/article/iis_multiple_websites.htm
>
> "Understanding Host Headers in IIS"
>
http://www.gafvert.info/iis/article/understanding_host_headers.htm
>
>
> --
> Regards,
> Kristofer Gafvert
>
http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Don Miller wrote:
>
> >Just made the change from IIS 5.0 on Win2K Pro to IIS6.0 with Windows
2003
> >Server on my dev machine, and I need multiple websites on the new server.
> >With IIS5.0, after I created a website, I accessed it with
> >
http://computername/website and they were all using port 80 and all
> >unassigned. With IIS6 when I added a new website I got an error message
> >that
> >the website couldn't start and "please select a unused port" something,
so
> >when I stopped the only other websites (Default Web Site and
> >Administration)
> >when I accessed the server with
http://servername, my new site appeared.
> >But
> >I want more than one website on the server.
> >
> >So then I read about using host names, added another site as a test, gave
> >each of my sites different hostnames and then kept getting Bad HostName
> >errors. AND, I don't know the correct URL to access those different
> >websites. I tried
http://servername/hostname1 and
> >
http://servername/hostname2 and
http://hostname1 and
http://hostname2
> >without success (the last two started Internet searches). On my
production
> >machine (with Win2K Server) I used hostnames successfully but can't seem
to
> >figure things out for a server on a local network.
> >
> >I've read the Help pages, but I guess I 1) don't understand how to create
> >different websites under one port and all unassigned, and 2) don't know
> >what
> >URL to use on my local network to access any one of the sites.
> >
> >Any help would be appreciated. Thanks.