????

Assuming your mail server is at 10.0.0.1

in domain1.com's zone file:
mail    IN      A       10.0.0.1

in domain2.com's zone file:
mail    IN      A       10.0.0.1

If a browser types in "http://mail.domain1.com";, he will go to the web
server located at 10.0.0.1, sending the host header information asking for
mail.domain1.com virtual host content.

If a browser types in "http://mail.domain2.com";, he will go to the web
server located at 10.0.0.1, sending the host header information asking for
mail.domain2.com virtual host content.

IF this is the way you had it setup, but someone typed
"http://mail.domain2.com"; and got redirected to http://mail.domain1.com,
that would be a function of the web server at 10.0.0.1 sending a redirect,
NOT DNS (again, assuming your DNS is setup along the example above).

For example, you can go to:
http://www.intouchmi.com/
http://www.flintgenerals.com/
http://www.lakeagency.com/

All three of these sites point to the same IP using A records.  The only
difference is how the web server is configured to see those host headers.
There are no CNAMES in use at all here.

I hope this example helps out.
- Tony


>I can't do that because we have to display slightly different
>content to different users and the only way we can distinguish the
>user is by what address they typed in.  If we use A records in
>domain2 to the website of domain1 then domain1 is replaced in the
>address bar.  If we use CNAMEs then domain2 stays in the address
>bar and we can read host headers to provide different content and
>know where they came from when their session times out without
>using cookies.


---
[This E-mail was scanned for viruses by http://www.intouchmi.com]


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to