Multiple sites in IIS
am 28.01.2008 20:37:33 von Sam
I am not sure if this is a DNS or IIS question or even possible. We are
running 4 sites on our webserver, IIS6. Each site uses a different port. I
have an ALIAS set up in DNS so when you go to URL http://alias.local the
home page of the defult site appears (port 80). Is there anyway of creating
a 2nd alias and having it take me directly to one of my other sites which is
on port 8090?
Thanks - Sam
Re: Multiple sites in IIS
am 29.01.2008 06:54:28 von Ken Schaefer
Hi,
This is very doable.
However DNS only resolves host names to IP addresses. It doesn't, natively,
do anything WRT to ports.
So, what you should do is:
a) add a CNAME record to your DNS that points alias2.local -> IP address of
server
b) on your server, edit the configuration of website2, so that it listens on
IP address + port 80 + host-header=alias2.local
then you can type in http://alias2.local in your browser and access the site
on port 80
Cheers
Ken
"Sam" wrote in message
news:uDiqDVeYIHA.4440@TK2MSFTNGP06.phx.gbl...
>I am not sure if this is a DNS or IIS question or even possible. We are
>running 4 sites on our webserver, IIS6. Each site uses a different port.
>I have an ALIAS set up in DNS so when you go to URL http://alias.local the
>home page of the defult site appears (port 80). Is there anyway of
>creating a 2nd alias and having it take me directly to one of my other
>sites which is on port 8090?
>
> Thanks - Sam
>