Host Headers

Posted on 2009-04-21
Last Modified: 2012-08-13
Clients are unable to connect to the Web sites by using host header names:

Multiple host names must be mapped to the single IP address by using a DNS server or a Hosts file.


The above is from Microsoft..I'm using host header's  to map multiple Web sites with the same port number to a single IP address

But not sure How to map the hostheader to DNS can some explain me

Thanks and regards,
For  a neat desktop
Question by:madhurikv
    LVL 2

    Accepted Solution

    are you running iis 6 or 7?
    If ii6,

    open IIS (run inetmgr) and select your created website, right click and select properties.
    there is a 'wesite identification' box, inside this is a button next to "ip address" called Advanced.
    Select this.
    Select ADD, and put the IP address of your DNS, the port number and the in the HostHeader put in the name of the host header you want to direct to your selected site.

    Let me know if iv'e missed what your after here, possibly you've done this already.


    LVL 48

    Assisted Solution

    by:Ryan Chong
    >>But not sure How to map the hostheader to DNS can some explain me

    In your DNS, make sure the domains' A record are pointed to the same web server fixed IP address.

    Then in your IIS website, just add the Host Header as mentioned.

    If this is not done yet, make sure you added the fixed IP address in the Local Area Network's > Internet Protocol (TCP/IP) Properties > Advanced TCP/IP settings.

    if you had just updated the DNS, it may takes 15 mins or more to refresh...

    and you may need flush out your DNS if necessary using command:

    c:\>ipconfig /flushdns

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    755 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

    18 Experts available now in Live!

    Get 1:1 Help Now