Re: Multiple site on IIS 6.0
From: Jeff Cochran (jcochran.nospam_at_naplesgov.com)
Date: 06/08/04
- Next message: Jeff Cochran: "Re: Port conflict"
- Previous message: Sam Stern: "How do I add a custom header whose length exceeds 200 characters?"
- In reply to: M.Siler: "Re: Multiple site on IIS 6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 08 Jun 2004 20:13:42 GMT
On Tue, 8 Jun 2004 10:01:16 -0400, "M.Siler" <John.Doe@NoSpam.com>
wrote:
>This is what I thought I'd have to do. I didn't know how it was possible to
>use a CNAME with different domains.
Sure it's possible. Not abnormal, but if you have an IP that has a
tendency to change it makes sense. It's not what the alias record was
supposed to be, but most of the DNS purpose has been pretty stretched
now. The key is the two zones (domains) since that's how the world
will differentiate between the two domain names, including the host
headers.
Jeff
>I'll create different primary zones for each domain.
>
>bar.com
>foo.com
>
>I'll add an A record for bar.com for dev so I can resolve dev.bar.com
>I'll add an A record for bar.com for www so I can resolve www.bar.com to the
>external site.
>
>I'll add an A record for foo.com for dev so I can resolve dev.foo.com
>I'll add an A record for foo.com for www so I can resolve www.foo.com to the
>external site.
>
>This make sense to me now.
>
>Thanks!
>
>
>"Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
>news:40c81428.191252997@msnews.microsoft.com...
>> On Mon, 7 Jun 2004 17:02:40 -0400, "M.Siler" <John.Doe@NoSpam.com>
>> wrote:
>>
>> dev.site_b.com
>>
>> But use an A record, not a CNAME.
>>
>> You're misunderstanding DNS, and the other postings aren't really
>> helping since they're wrong as well. For each domain you have to
>> create a new zone. For example:
>>
>> foo.com
>> bar.com
>>
>> These are two zones (domains)
>>
>> foo.bar.com
>>
>> This is the foo host (A Record) in the bar.com zone (domain)
>>
>> In the bar.com zone, create a host named foo, point it to your web
>> server's IP address. In IIS, create the new site, with a host header
>> of *both* foo.bar.com and bar.com. Then it will answer to either:
>>
>> http://foo.bar.com
>>
>> or
>>
>> http://bar.com
>>
>> See:
>>
>> DNS Basics for IIS Administrators:
>> http://www.iisanswers.com/articles/dns_for_iis.htm
>>
>> How to Create Multiple Websites with one IP address:
>> http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm
>>
>> HOW TO: Use Host Header Names to Configure Multiple Web Sites in
>> Internet Information Services 6.0:
>> http://support.microsoft.com/?id=324287
>>
>> Jeff
>
- Next message: Jeff Cochran: "Re: Port conflict"
- Previous message: Sam Stern: "How do I add a custom header whose length exceeds 200 characters?"
- In reply to: M.Siler: "Re: Multiple site on IIS 6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|