Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Dynamic Host Headers in IIS 6

Posted on 2008-11-19
Medium Priority
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
  • 3
  • 2
LVL 13

Expert Comment

by:Praveen DM
ID: 22999471
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

ID: 22999573
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

Praveen DM earned 750 total points
ID: 22999696
Plz refer these links and hope u get to the point you wanted too...

1. http://msmvps.com/blogs/bernard/archive/2005/03/22/39218.aspx

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

Author Comment

ID: 23003324
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

ID: 31518494
Thanks for the web site references!

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses

581 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