Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-2011, 10:06 AM
New Member
 
Posts: 4
Default Forced URL rewrite

I have Zimbra running on a server called saladin which has a cname record of mail. When accessing it as mail.example.com it works well, but when addressed as saladin.example.com it breaks with SSL as the certificate is only for mail.example.com.

In my previous setup I just configured Apache to use URL Rewrite and forced all connections to be rewritten to https://mail.example.com/ but I cannot find anywhere to set this in Zimbra.

PS. For those who wonder why use "example.com" it is because I do not wish to be made a complete fool of my superior on his many googles of our domain name... :-)
Reply With Quote
  #2 (permalink)  
Old 04-17-2011, 10:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by Yalla-One View Post
I have Zimbra running on a server called saladin which has a cname record of mail.
You should not use a CNAME record for your mail server, it should be an MX & A record that point to your server.

Quote:
Originally Posted by Yalla-One View Post
When accessing it as mail.example.com it works well, but when addressed as saladin.example.com it breaks with SSL as the certificate is only for mail.example.com.
What do you mean by "it breaks"?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-17-2011, 10:33 AM
New Member
 
Posts: 4
Default

Thanks for the quick response!

Quote:
Originally Posted by phoenix View Post
You should not use a CNAME record for your mail server, it should be an MX & A record that point to your server.
I know, but it's both a little too late for that, and the server is already running another service with old and unfortunate, but still very strict, name rules.

Quote:
Originally Posted by phoenix View Post
What do you mean by "it breaks"?
SSL "breaks" since it's issued for the mail.example.com instead of the hostname.
Reply With Quote
  #4 (permalink)  
Old 04-18-2011, 02:43 AM
New Member
 
Posts: 4
Default

you can add a reverse proxy with apache (per exemple)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.