hello all…i need your help once again…
here is what i need…i already have my domain setup (everything works fine!) and i have another machine running a mail server (zimbra).
My mail server runs on port 85…and i did the port forwarding needed already…
i need to set up my server to give my clients access to this web based mail like this:
Well, Virtualmin already has the ability to redirect webmail.domain.tld to some other URL… you may be able to tweak that to do what you’re after.
You can set that by going into System Settings -> Server Templates -> Default -> Apache Website. You can set the domain to redirect to by setting “URL for webmail redirect”.
I’m not sure I understand what you’re trying to accomplish here. If Zimbra is running on port 85, you wouldn’t want to redirect from 85 to 80. You’d want to go the other way and redirect mail.domain.com to mail.domain.com:85.
Or you might consider proxying the mail domain to port 85.
You can add any kind of redirect you want (if the generic redirect that Virtualmin does for webmail isn’t sufficient) in the Server Templates Apache section (you may also need to add a record in the BIND template, as well if you aren’t using one of the names that gets setup by default in Virtualmin).
Dear Joe,thank you for your answer!
Here is what i need…I have two servers, web and mail…Web is running on 192.168.1.10 and the mail on 1.20
I setup my web domains in virtualmin as always (so far so good…) and on the mail server (that;s zimbra which runs its own apache,so i run it on port 85) i set my mail domains.
So i end up with: www.palfh.gr and i need a mail.palfh.gr,but mail.palfh.gr is web-based zimbra mail!
When i hit mail.palfh.gr goes to palfh.gr (the site;s main page…) which is incorrect.
Si my users need to: hit palfh.gr and go to the website and hit mail.palfh.gr and go to 192.168.1.20:85 which is my zimbra mail server;s login page…
I use port forwarding to do it,and i also tried to redirect it from virtualmin…but i cannot do it…
So,hope its clear now…Any chance to resolve this situation?
Could you give me some easy steps to redirect it?