Re: Multiple hostheaders for one website.

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 07:32:12 -0800

Hi,

Can you please use WFetch from the IIS 6.0 Resource Kit tools, and set it
up like this:

Host: Ip of webserver
Path: /default.htm (or some other file on the website)
Advanced Request: Add Headers, write:

Host: www.other.org.uk\r\n

Click Go.

I assume that www.other.org.uk was the one that you are having problems
with.
Does this give you the page of the website?

I want you to do this to make sure that DNS lookup is true DNS and not
some forwarding service that does not send the host header field.

-- 
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
sosh wrote:
>
> Hi,
>
> I'm having a strange problem with host headers that I hope someone
> might be able to shed some light on.
>
> I have a web server (windows 2000 server - up to date patches) with one
> IP address.
>
> I have two domains, a main one and a another website so lets say:
>
> main.co.uk  and
> other.org.uk
>
> I have dns for both (maintained by third party) and all subdomains
> pointing to my IP.
>
> I want  these addresses to go to the other website:
>
> other.org.uk
> www.other.org.uk
> other.main.co.uk
>
> Initially I had just other.main.co.uk set in host headers pointing to
> the other webspace (while the other.org.uk transfer was taking place).
> Once the transfer happened I added other.org.uk and www.other.org.uk to
> the "multiple identities for this website" dialogue in the advanced
> section of the website config.
>
> Unfortunately, IIS seems only to take into account the first two host
> header settings, with the third being ignored and just going to the
> main site.
>
> Anyone got any ideas?  Is it something to do with the fact that I don't
> have hostheaders defined for the main site? Or that I'm using "All
> Unasigned" in the for the IP?  A bug?
>
> Thanks!
>
>
>
> --
> sosh
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message896306.html
>


Relevant Pages

  • Re: how to configure host headers for 3 IIS machines ?
    ... If you only have one public IP, this will not work with IIS only. ... Host multiple websites on one machine, and distinguish them with a host ... Using host headers, without including the external IP and another port is ... > Im looking to run three IIS machines on the same public IP. ...
    (microsoft.public.inetserver.iis)
  • Re: CNAME not working
    ... CNAME record??? ... I have checked and there are no host headers specified, ... I am definitely missing something here then, the Default website ... Click the "Advanced" button next to the IP IIS listens on to see any ...
    (microsoft.public.windows.server.dns)
  • Re: redirect http to www
    ... you can say that host domain.com is 212.452.10.120. ... In IIS you just set up a website on that IP address. ... "Anthony" wrote: ... one or more host headers for the listen to respond to, ...
    (microsoft.public.windows.server.general)
  • Re: Multiple web sites and dns
    ... Goal is to have two web sites located on IIS using host headers have ... public dns record pointing to the public ip address on our firewall. ... This website works fine. ...
    (microsoft.public.windows.server.dns)
  • Re: host header does not seem to work in Server 2003
    ... I realize I can run bwrentz.com as the default website but I want to ... assign separate IPs to each or seperate host headers, ... >>now located and saved all that, but unless I turn on directory browsing I ...
    (microsoft.public.inetserver.iis)