Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > Multiple hostheaders for one website.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

sosh is offline     Multiple hostheaders for one website.  
sosh


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for sosh Click here to Send sosh a Private Message Find more posts by sosh Add sosh to your buddy list
 
01-27-05 11:31 AM

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 a
ddress.  

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 webspac
e (while the other.org.uk transfer was taking place).  Once the transfer happened I add
ed other.org.uk and www.other.org.uk to the "multiple identities for this we
bsite" 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!




[ Post a follow-up to this message ]



    Re: Multiple hostheaders for one website.  
Kristofer Gafvert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-05 10:52 PM

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
>





[ Post a follow-up to this message ]



sosh is offline     Re: Re: Multiple hostheaders for one website.  
sosh


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for sosh Click here to Send sosh a Private Message Find more posts by sosh Add sosh to your buddy list
 
01-28-05 09:16 AM

Hi,

Thanks for your response.  I'm unable to run any tools from the IIS6 resourc
e kit however as I'm on Windows 2000 server, and it wont install.  I'm almos
t certain that  we have a true DNS setup though, I know the guys that manage
 the DNS server, and the domain lives with them, not some other registrar.  
Also host headers do work when there are only two host header identities set
 up.

Thanks




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register