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 03-20-2009, 10:14 AM
Intermediate Member
 
Posts: 23
Default [SOLVED] How to Change Documents and Briefcase URL?

My Zimbra server server's canonical name is aegir.thatonedomain.com, and webmail is a cname.

I'd prefer to access the web interface by hitting https://webmail.thatonedomain.com, and that works fine - so long as I don't try to access my briefcase or any of my documents. When I do that, the host name in the URL changes to aegir. I can still connect, obviously, but my SSL cert is for "webmail", and my browser throws a cert error.

Is there an easy way to make the host name in the URL "stick" to 'webmail'?

On a "normal" Apache server, I'd make this work with a mod_rewrite rule and / or by way of creating a <VirtualHost> configuration, but I'm afraid to play too much with the default Zimbra config.
Reply With Quote
  #2 (permalink)  
Old 03-20-2009, 10:33 AM
Moderator
 
Posts: 2,207
Default

Did you search the forum?

This question is asked and answered several time...
Reply With Quote
  #3 (permalink)  
Old 03-20-2009, 10:33 AM
Moderator
 
Posts: 6,236
Default

The server uses zimbraPublicServiceHostname to generate REST URLs, ie: briefcase, document, calendar sharing etc.

Say it's generating a URL like http:// server.domain.com and you'd rather have it http:// webmail.domain.com:
Quote:
zmprov md domain.com zimbraPublicServiceHostname webmail.domain.com
(As long as 'webmail' has a proper DNS entry to point at 'server' both internally and externally.)

In 5.0.9+ REST URL's are now composed of 3 attributes: zimbraPublicService[Protocol + Hostname + Port] to avoid dependency on zimbraServer objects. 'Protocal' & 'Port' are automatically configured on upgrade if you have 'Hostname' set / you can just set 'Hostname' and run fine if you should forget to set 'Protocol' & 'Port' to http(s) & 80/443 respectively. (And we only expose 'hostname' in the Admin console domains tab.)

To minimize browser warnings, might add subjectAltNames if it applies to you: Administration Console and CLI Certificate Tools - Zimbra :: Wiki

If you have multiple domains I assume you've already added 'webmail' as a virtual host to make login easier (so you don't always have to append @domain.com) if you haven't:
Quote:
zmprov md domain.com zimbraVirtualHostname webmail.domain.com
Reply With Quote
  #4 (permalink)  
Old 03-20-2009, 11:00 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by Klug View Post
Did you search the forum?

This question is asked and answered several time...
I did, actually, but I didn't find anything useful in the results. It's all a matter of constructing the right search string, and apparently, I fail. I apologize, and thanks for the reminder that I'm a failure. I was having a pretty good day, and needed to be put in my place.

And thanks to mmorse, as well, for hooking me up with what I needed.

Have a good weekend, guys.
Reply With Quote
  #5 (permalink)  
Old 03-20-2009, 11:18 AM
Moderator
 
Posts: 2,207
Default

'briefcase url" gives you some answers, no need to take it that way.

Marking as solved.
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.