Host Headers

Posted on 2009-04-21
Medium Priority
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

Accepted Solution

clinton_cunningham earned 1000 total points
ID: 24192013
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 54

Assisted Solution

by:Ryan Chong
Ryan Chong earned 1000 total points
ID: 24192033
>>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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline
Suggested Courses

830 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