Results 1 to 5 of 5

Thread: DNS/MX to Zimbra on 443 and Apache on 80

  1. #1
    me@mjf is offline New Member
    Join Date
    Mar 2013
    Posts
    4
    Rep Power
    2

    Default DNS/MX to Zimbra on 443 and Apache on 80

    I am trying to redirect mail.myserver.com to Zimbra on port 443 and myserver.com to Apache on port 80 on the same server.

    I have installed Zimbra 8 and Apache2 on Ubuntu 12.04
    I have turned off http access within Zimbra (zmtlsctl) and stopped Apache2 from listening to port 443 (ports.conf).

    Currently to access Zimbra I must type https: before my server name, otherwise it loads my homepage.

    From a client's browser I want them to:
    type mail.myserver.com and it load the Zimbra web client page via https
    AND
    type myserver.com and it load my Apache2 homepage via http

    Any help would be appreciated.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by me@mjf View Post
    I am trying to redirect mail.myserver.com to Zimbra on port 443 and myserver.com to Apache on port 80 on the same server.
    What do you mean by "DNS/MX to Zimbra on 443"? Your MX record point to your A record and that means your mail gets delivered to port 25, it has nothing to do with port 443.

    Quote Originally Posted by me@mjf View Post
    From a client's browser I want them to:
    type mail.myserver.com and it load the Zimbra web client page via https
    That would require you to have valid MX & A records for your server, do you? I'm guessing you don't and you'll need to provide some evidence of what your DNS records contain.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    me@mjf is offline New Member
    Join Date
    Mar 2013
    Posts
    4
    Rep Power
    2

    Default

    Bill, thanks for your reply and sorry for the confusion

    Please correct me if Im wrong:
    My A record should point to the IP of my server.
    My MX record would point to my A record.


    So my A record: myserver.com points to 1.1.1.1
    MX: mail.mysever.com points to myserver.com

    My question is how to point mail.myserver.com to myserver.com:443
    and
    myserver.com to myserver.com:80

    Currently when you goto mail.myserver.com or myserver.com my homepage is loaded. Only when I goto https://myserver.com or https://mail.myserver.com can I access Zimbra's web client.

    I've seen solutions for Apache to redirect https requests to Zimbra , but I want to try and keep Apache & Zimbra as separate as possible.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by me@mjf View Post
    My question is how to point mail.myserver.com to myserver.com:443
    The simple answer to that is, you don't.

    Quote Originally Posted by me@mjf View Post
    Currently when you goto mail.myserver.com or myserver.com my homepage is loaded. Only when I goto https://myserver.com or https://mail.myserver.com can I access Zimbra's web client.
    That would be because http in a browser is sent to port 80 and https is sent to port 443 - there's no way to change that via DNS.

    Quote Originally Posted by me@mjf View Post
    I've seen solutions for Apache to redirect https requests to Zimbra , but I want to try and keep Apache & Zimbra as separate as possible.
    If you're going to run Apache on the Zimbra server (it is actually recommended that ZCS is the only application you run on your server) then that's the only solution.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    me@mjf is offline New Member
    Join Date
    Mar 2013
    Posts
    4
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    The simple answer to that is, you don't.

    If you're going to run Apache on the Zimbra server (it is actually recommended that ZCS is the only application you run on your server) then that's the only solution.
    Thanks, this is what I thought.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra AND Apache
    By NoDoze in forum Users
    Replies: 1
    Last Post: 12-16-2008, 06:26 PM
  2. Zimbra apache, why?...
    By Mad Professor in forum Administrators
    Replies: 0
    Last Post: 07-26-2008, 03:49 PM
  3. Replies: 4
    Last Post: 03-28-2008, 09:18 AM
  4. Zimbra and Apache
    By dhull in forum Installation
    Replies: 3
    Last Post: 01-06-2008, 01:09 AM
  5. Replies: 2
    Last Post: 10-17-2007, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •