Problem with multiple web sites

This is a discussion on Problem with multiple web sites within the Inetserver forums in Microsoft Tools category; I have a Windows 2003 server running IIS 6 and WSUS Wanted to add another web site to be hosted on that machine Used IIS manager and added additional web site Am differentiating web sites via host names . ip address are all assigned and tcp port is 80 WSUS still works by typing in http://strouddomain2/wsusadmin If I type in http://192.168.7.180 I get page under construction Home directory is pointing in the right direction I'm figuring it's a DNS problem but frankly don't know how to add the proper record to DNS so that this second web site can be ...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-25-2008, 04:10 PM
LibbyStew
Guest
 
Default Problem with multiple web sites

I have a Windows 2003 server running IIS 6 and WSUS
Wanted to add another web site to be hosted on that machine
Used IIS manager and added additional web site
Am differentiating web sites via host names . ip address are all assigned
and tcp port is 80
WSUS still works by typing in http://strouddomain2/wsusadmin
If I type in http://192.168.7.180 I get page under construction
Home directory is pointing in the right direction
I'm figuring it's a DNS problem but frankly don't know how to add the proper
record to DNS so that this second web site can be seen.
Can anyone help?
Reply With Quote
  #2  
Old 08-26-2008, 05:00 AM
Anthony Jones
Guest
 
Default Re: Problem with multiple web sites

"LibbyStew" <LibbyStew@discussions.microsoft.com> wrote in message
news:2A580D70-8B43-4F8F-ADE8-8D189E5681D3@microsoft.com...
> I have a Windows 2003 server running IIS 6 and WSUS
> Wanted to add another web site to be hosted on that machine
> Used IIS manager and added additional web site
> Am differentiating web sites via host names . ip address are all assigned
> and tcp port is 80
> WSUS still works by typing in http://strouddomain2/wsusadmin
> If I type in http://192.168.7.180 I get page under construction
> Home directory is pointing in the right direction
> I'm figuring it's a DNS problem but frankly don't know how to add the

proper
> record to DNS so that this second web site can be seen.
> Can anyone help?


Since the second URL uses an IP address the problem isn't going to be DNS.

If have placed host header recognition on all your sites which site would
you expect the raw IP address to use? The Host header in the request will
be 192.168.7.180 but none of the sites will match that.

If a site can be identified uniquely by an IP address (your server may have
multiple IP addresses but the only that site uses that particular IP) then
remove the host header recognition from that site.

If you only have one IP address and you must identify each site by host
header and for some strange reason you need to access a site via the raw IP
address in the URL then add the IP address as a host header to the site to
which you would like requests directed to.




--
Anthony Jones - MVP ASP/ASP.NET


Reply With Quote
  #3  
Old 08-26-2008, 01:47 PM
LibbyStew
Guest
 
Default Re: Problem with multiple web sites

My server only has one ip address . . . 192.168.7.180. WSUS was installed
first on this server and is the "default web site". The second web site is
only an intranet and when I first added it I didn't give it any unique
identifier. The identifiers were the same for both sites.
Then I read about the host header and I designated the host header field to
be "intranet" for the intranet site and I left the WSUS blank. Can access
WSUS but not the intranet. Previous intranet on another server by itself was
accessed by typing in the ip address . . . that's why I did it that way.
If I make the host header be the ip address, the WSUS site doesn't work and
neither does the intranet site.
Sorry but I'm not well versed on this but appreciate your suggestion.

"Anthony Jones" wrote:

> "LibbyStew" <LibbyStew@discussions.microsoft.com> wrote in message
> news:2A580D70-8B43-4F8F-ADE8-8D189E5681D3@microsoft.com...
> > I have a Windows 2003 server running IIS 6 and WSUS
> > Wanted to add another web site to be hosted on that machine
> > Used IIS manager and added additional web site
> > Am differentiating web sites via host names . ip address are all assigned
> > and tcp port is 80
> > WSUS still works by typing in http://strouddomain2/wsusadmin
> > If I type in http://192.168.7.180 I get page under construction
> > Home directory is pointing in the right direction
> > I'm figuring it's a DNS problem but frankly don't know how to add the

> proper
> > record to DNS so that this second web site can be seen.
> > Can anyone help?

>
> Since the second URL uses an IP address the problem isn't going to be DNS.
>
> If have placed host header recognition on all your sites which site would
> you expect the raw IP address to use? The Host header in the request will
> be 192.168.7.180 but none of the sites will match that.
>
> If a site can be identified uniquely by an IP address (your server may have
> multiple IP addresses but the only that site uses that particular IP) then
> remove the host header recognition from that site.
>
> If you only have one IP address and you must identify each site by host
> header and for some strange reason you need to access a site via the raw IP
> address in the URL then add the IP address as a host header to the site to
> which you would like requests directed to.
>
>
>
>
> --
> Anthony Jones - MVP ASP/ASP.NET
>
>
>

Reply With Quote
  #4  
Old 08-26-2008, 02:54 PM
LibbyStew
Guest
 
Default Re: Problem with multiple web sites

problem solved: removed host header and differentiated web sites on same
machine via port. wsus web site uses port 80; intranet uses port 81. you
can now access the intranet via your browser by typing in
http://strouddomain2:81



"LibbyStew" wrote:

> My server only has one ip address . . . 192.168.7.180. WSUS was installed
> first on this server and is the "default web site". The second web site is
> only an intranet and when I first added it I didn't give it any unique
> identifier. The identifiers were the same for both sites.
> Then I read about the host header and I designated the host header field to
> be "intranet" for the intranet site and I left the WSUS blank. Can access
> WSUS but not the intranet. Previous intranet on another server by itself was
> accessed by typing in the ip address . . . that's why I did it that way.
> If I make the host header be the ip address, the WSUS site doesn't work and
> neither does the intranet site.
> Sorry but I'm not well versed on this but appreciate your suggestion.
>
> "Anthony Jones" wrote:
>
> > "LibbyStew" <LibbyStew@discussions.microsoft.com> wrote in message
> > news:2A580D70-8B43-4F8F-ADE8-8D189E5681D3@microsoft.com...
> > > I have a Windows 2003 server running IIS 6 and WSUS
> > > Wanted to add another web site to be hosted on that machine
> > > Used IIS manager and added additional web site
> > > Am differentiating web sites via host names . ip address are all assigned
> > > and tcp port is 80
> > > WSUS still works by typing in http://strouddomain2/wsusadmin
> > > If I type in http://192.168.7.180 I get page under construction
> > > Home directory is pointing in the right direction
> > > I'm figuring it's a DNS problem but frankly don't know how to add the

> > proper
> > > record to DNS so that this second web site can be seen.
> > > Can anyone help?

> >
> > Since the second URL uses an IP address the problem isn't going to be DNS.
> >
> > If have placed host header recognition on all your sites which site would
> > you expect the raw IP address to use? The Host header in the request will
> > be 192.168.7.180 but none of the sites will match that.
> >
> > If a site can be identified uniquely by an IP address (your server may have
> > multiple IP addresses but the only that site uses that particular IP) then
> > remove the host header recognition from that site.
> >
> > If you only have one IP address and you must identify each site by host
> > header and for some strange reason you need to access a site via the raw IP
> > address in the URL then add the IP address as a host header to the site to
> > which you would like requests directed to.
> >
> >
> >
> >
> > --
> > Anthony Jones - MVP ASP/ASP.NET
> >
> >
> >

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.