Solved

Multiple DNS names to IIS on port 80

Posted on 2000-03-20
3
453 Views
Last Modified: 2013-12-24
I have two domain names pointing at my computer now.   I'm runing IIS on port 80.

Is there any way that IIS can filter requests based on which DNS name the request comes in on?   For example, if a request came in on www.siteA.com then IIS would map the request to, say "c:\inetpub\wwwroot\siteA"  and if the request came in on www.siteB.com it would get mapped to "c:\inetpub\wwwroot\siteB\".      Requests for both names would come in on port 80.

Can an ISAPI filter do that?  
Can IIS do it from the managment console?
Can I specify a port with my domain name?
How can I make this work?
Is this possible?

Thanks,
Adam
0
Comment
Question by:aplatti
3 Comments
 
LVL 2

Accepted Solution

by:
kaufmannm earned 100 total points
ID: 2646073
Hi there, as far as I know the only way to do this is to use IIS's Host Header feature.  It's done as follows:

1. Setup both of your websites using the Internet Service Manager (ISM)
2. Within ISM, for siteA, go into its properties by right-clicking on it.
3. In the siteA Properties box, select the 'Web Site' tab and click on the 'Advanced' button next to the IP Address field.
4. In the 'Advanced Multiple Web Site Configuration', highlight the IP Address and click on 'Edit'.
5. Now in the 'Advanced Web Site Identification' box, you can specify a Host Header Name, which is the name of your site - in this case siteA. Do not enter www.siteA.com, just enter the domain name itself.
6. Repeat steps 2-5 for siteB.

For more info on the features and limitations of Host Headers in IIS, check out the IIS Resource Kit, or the IIS Training Kit, or search Technet...

Hope that does it for ya ;)
0
 

Author Comment

by:aplatti
ID: 2646304
will I be able to run both sites on port 80?  If not, can IIS map one of the sites to a different port when a request comes in on port 80?
0
 
LVL 2

Expert Comment

by:DKostov
ID: 2687729
Yes, you will be able to run both sites on 80.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

895 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

12 Experts available now in Live!

Get 1:1 Help Now