Solved

Multiple DNS names to IIS on port 80

Posted on 2000-03-20
3
450 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

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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