Re: Simple question of dns?

2005-08-10 Thread Hornet
On 8/10/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
  http://www.mail.mydomain.com http://www.mail.mydomain.com
  to
  http://mail.mydomain.com
  Many users do first request and my server respond only al the second url.
  Tks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

DNS will not do redirects, that's a function of a web server.
You can do an aliases. The format would be like this in the zone file.

www.mail   IN   CNAMEmail.domain.com.

So going to www.mail.domain.com is the same as using mail.domain.com.
The only time it is not good to do the above, is when your web server
is doing name based virtual hosting.

-Erik-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question of dns?

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 10:01, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com http://www.mail.mydomain.com
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!

1. Add a DNS entry that points to the same IP address.
2. Configure your web server to respond to both names (ala virtual hosting).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question of dns?

2005-08-10 Thread Micheal Patterson



- Original Message - 
From: Carstea Catalin [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Wednesday, August 10, 2005 12:01 PM
Subject: Simple question of dns?


I want to configure my dns to redirect all request from :
http://www.mail.mydomain.com http://www.mail.mydomain.com
to
http://mail.mydomain.com
Many users do first request and my server respond only al the second url.
Tks!


If you have access to your dns zone file, add a cname entry:

www.mail  CNAME   mail.mydomain.com.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain 
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]