Dynamic Host Headers in IIS 6

Posted on 2008-11-19
Last Modified: 2012-06-21
Is there a way to use a "catch-all" host header for a web site in IIS?  I have a catch-all A record pointing at a single IP address and I would like IIS to route requests for all subdomains of a given domain to one web site.  Is this possible?  I believe this can easily be done with Apache.
Question by:webworld1
    LVL 13

    Expert Comment

    1. Select Site -->Rt click-- Properties --
    2. Web Site ( Tab ) -->
    3. IP Address {Advanced} <--click
    4. Add host headers and sub domain names that needs to point to same location...with port 80.. ;-)

    Hope this helps ... If I am wrong with any information let me know ... I am not too clear on u r Question.. cheers good luck...

    Author Comment

    With Apache, I can use a wild-card host header that will trap all subdomain requests instead of having to add them individually.
     With IIS, I either need a "catch-all" or wild card to handle a variable number of host headers similar to what I can do with Apache or a dynamic solution that will programmatically add the individual host headers.
    LVL 13

    Accepted Solution

    Plz refer these links and hope u get to the point you wanted too...


    Let me know if you could pind down to a solution.......

    Author Comment

    Based upon information from the web sites you provided, I think the easiest solution would be for me to aquire a separate IP address.  Otherwise, a custom URL manipulation engine (such as ISAP Rewrite) would be needed.

    Author Closing Comment

    Thanks for the web site references!

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now