Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What I'm essentially aiming to do is have a web server running Win 2008 Standard and IIS7 which will serve internal sites.

The idea is that the sites will be accessed with a setup like the following:

Site 1: http://intranet
Site 2: http://intranet2
Site 3: http://intranetsite

Would I just create host records called intranet, intranet2, etc on our internal DNS and separate sites with Host Name's of intranet, intranet2 and so on? or would I have to do something else?

share|improve this question
    
I know this is a duplicate but I can't find the other question. Will answer for now, until we can find the other! –  squillman Sep 23 '09 at 14:01
    
Ah nothing came up when I searched. Maybe I was searching for the wrong thing? –  LiamGu Sep 23 '09 at 14:06
    
Yeah, I just went through a goodly amout of the Google index and nothing came up. I'm leaving it, someone else can find it now! –  squillman Sep 23 '09 at 14:14

1 Answer 1

up vote 1 down vote accepted

You're almost on the right track. Set up one host record for your server and then 3 CNAME records for each of the three URL's you have above pointing to your host record. 3 host records will also work, but the other way is best practice (mainly due to reverse lookup issues with multiple host records). Then set up one web site for each of them in IIS and use host header redirection to let IIS know which site to send the request to (based on the HTTP host: header from the request).

Here's the Technet article for configuring a host header for a web site.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.