If I understand correctly, this is what you are looking for:

DNS settings for domainname.com
CNAME (same as parent) {IP address of web server}
CNAME www    {IP address of web server}
A mail {IP address of mail server}
MX mail.domainname.com {this will reference the A record above for the IP
address}

That way when someone sends mail to domainname.com, it knows where the
server is.  If someone goes to www.domainname.com it goes to the web server.

Hope that helps.

Trent
-----------
Trent M. Davenport - Systems Administrator
Northern Television Systems Ltd - WHTV
203-4103 4th Avenue, Whitehorse, YT Y1A 1H6
(867) 393-2225 X204, (867) 393-2224 FAX
www.whtvcable.com <http://www.whtvcable.com>  (
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  )



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Setzer
Sent: April 5, 2002 11:48 AM
To: [EMAIL PROTECTED]
Subject: [IMail Forum] OT: DNS MX & CNAME


Hello,

This slightly OT so you can respond off list if you like.

I'm trying to set up a domain so that all http traffic is aliased to another
site and mail is delivered to our Imail server.

I want this in the record for domain2.

CNAME (same as parent) www.domain1.com
CNAME www    www.domain1.com
A mail xxx.xxx.xxx.xxx
MX mail.domain2.com

However:

MS DSN will not let me put the following two entries in the same record:
CNAME (same as parent) www.domain1.com
MX mail.domain2.com

I can put the following in the record:
CNAME (same as parent) www.domain1.com
MX mail.domain1.com

I can also put the following in the record:
CNAME www www.domain1.com
MX mail.domain2.com

I don't understand why it won't let me do this.  How do I set-up DNS so that
mail is delivered to mail server @domain2.com but all web traffic is aliased
to domain1.com.  BTW: We MUST alias the traffic because we're reading host
headers to custom tailor content and can't put an A record in domain2
pointing to domain1s IP.

Must I put MX in domain2 to the effect of "domain2mail.domain1.com" and
setup Imail as Hostname= domain2.com HostAlias=domain2mail.domain1.com?

If I do this then all users will have to put domain2mail.domain1.com in
their mail client, correct?

Thanks

David



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/


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