« Previous Next »

Thread: IIS stops using host headers after a certain point of time.

Last post 09-10-2009 10:20 AM by tomkmvp. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 09-04-2009, 9:23 AM

    • theregit
    • Not Ranked
    • Joined on 09-12-2005, 7:48 PM
    • Posts 4

    IIS stops using host headers after a certain point of time.

    I am having a very strange issue with IIS 6.0 and an ASP.NET application.  I have a development box that has 2 websites on it (Default and Developement) the default website is still the standard website that is installed with IIS and then I have a development site with a host header value with the hostname of the box.  The problem I am having is that access to the application works fine for quite a while (hours).  Then when left alone overnight IIS stops routing requests to the development site and routes them to the default web site.  If I restart IIS then app starts working again and the process repeats.

    I have tried just restarting the app pool this site is on (it is on a different app pool than the default site) and that doesn't work.  Only a restart of IIS does the trick.  There are NO events in the event log and nothing in the HTTP logs to indicate any kind of a problem.

     Any ideas would be greatly appreciated, this is very frustrating.

    Also I have this same application running on another box under the same setup and it works fine.  This issue seems to be isolated to this box and this instance of IIS.

    Thank you.

    theregit - MCSE, MCDBA, MCTS
  • 09-04-2009, 12:51 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: IIS stops using host headers after a certain point of time.

  • 09-09-2009, 8:20 PM In reply to

    • theregit
    • Not Ranked
    • Joined on 09-12-2005, 7:48 PM
    • Posts 4

    Re: IIS stops using host headers after a certain point of time.

    No it does not.

    theregit - MCSE, MCDBA, MCTS
  • 09-09-2009, 9:05 PM In reply to

    Re: IIS stops using host headers after a certain point of time.

    Do requests get to IIS? - is there anything in the logs?

    Anything ion the http err logs?

    What does the client see? timeout, error?

    What does a web debug tool like fiddler tell you about teh request/response?

    What does a packet sniffer tell you?

  • 09-10-2009, 10:20 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: IIS stops using host headers after a certain point of time.

    It's been my experience that host headers work best when all sites have one defined.  This eliminates any confusion.

Page 1 of 1 (5 items)
Microsoft Communities