• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

2 websites on the same iis server?

New to the IIS world so I need some help.

I recently set up a website (eg: www.yellowdogs.com).  It was built by our in house developer.  We host it, so there is a DMZ iis server and an internal iis server and it runs just fine.

They have asked me to get another site up that our developer has built. (eg: www.redcats.com).  

Questions:
Is it possible to have both these sites on the same server?  
Is it a best practice?
If so how does the IIS server direct traffic (is it through the bindings?)?
Do I need an additional external ip address? I can bring in another ip if needed.
I might make a separate question for this... I have also been asked for both of these sites (old and new) to use our AD for credential use.  I plan on using ADFS 2.0.  Is there any restrictions on 2 sites using ADFS?
0
paradigm_IS
Asked:
paradigm_IS
2 Solutions
 
mmahaekCommented:
You can do this with one or two IP addresses.  If you have two IP addresses, you would add the second IP to your network card, then create a new web site and bind each site to the one specific IP.

To do this with one IP, you can create a new web site and specify a host name header.  Make sure that both DNS records point to the same IP address.  IIS will then look at the host name and provide the right page back to the user.  I am currently using this method with about 8 different sites hosted on the same server and IP.

We have fairly high bandwidth available and a low number of users.  If you do plan for heavy loads, it probably is better to go with multiple NICs and/or IPs, but it is possible to do this with one IP.

Since each site is a separate virtual web host, you can specify the same or different authentication settings for each site.
0
 
Ben HartCommented:
or.. couldn't you accomplish this with different ports as well?
0
 
mmahaekCommented:
You can do this with different ports, however then your users would also have to know to enter the custom ports when going to the site.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
paradigm_ISAuthor Commented:
mmahaek - Sorry, I'm talking about an additional outside external ip address (not DMZ or internal). I should also clarify that the DMZ server is a VM.  The NIC cards are filled up on the host machine (4).  One of the physical NIC's is used for DMZ.  Can I use the same DMZ virtual NIC to add another DMZ ip?  The outside external ip address itself would come in through my firewall and I can direct traffic to servers that way (currently do this for other services).

Quick edit... Maybe one ip is the answer not to confuse anything further.  What is considered heavy traffic?  I expect maybe 100-200 users at the most.  Concurrent would probably be around 30-50.
0
 
mmahaekCommented:
I wouldn't consider that heavy load.  We have about 2000 hits per day, and I consider that pretty small.  We have our server virtualized.  

For that load, you should be good with one IP.  Create two web sites, each with the same IP and port 80, but use the Bindings to specify a unique host name for each.
0
 
paradigm_ISAuthor Commented:
Sounds good.  I'll create a new question for the ADFS stuff.
0
 
David Johnson, CD, MVPOwnerCommented:
You DONT need separate IP addresses as you can use the hostname to separate the web server site to deliver
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now