Results 1 to 10 of 14

Thread: Need Help - One Apache Configuration

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    14
    Rep Power
    9

    Default Need Help - One Apache Configuration

    Originally Posted by hofo
    Since M4 doesn't use zmiptables, what's the new procedure? Or does Zimbra now just pickup whatever IP you are on?
    Im a bit stuck right now.

    I initially had an apache server running which I shutdown when I started the Zimbra install. Now that zimbra is running, I thought I would be able to modify the httpd.conf to include my previous setup.

    How would someone setup:
    www.example.com > web on port 80
    email.example.com > email on port 7070

    Also, my main problem currently is trying to get zimbra apache to listen on port 80. Initially I changed the httpd.conf to include:

    Listen 80
    Listen 7160

    Only I get a startup error saying port 80 is already in use and prior to startup it isnt. So zimbra must be doing this on startup in the background.

    Any help would be greatly appreciated.
    Ultra

  2. #2
    Join Date
    Jan 2006
    Posts
    14
    Rep Power
    9

    Default

    I noticed on reinstall that

    6) Web server HTTP port: 80

    However whenever you browse to www.example.com you are automatically sent to webmail rather then the actual website.

  3. #3
    Join Date
    Jan 2006
    Posts
    14
    Rep Power
    9

    Default

    Okay Ive changed http port to 8080 and I'm going to test.

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Yep this is now part of the installer due to the request of the community. You get to set your web port once and we manage it from then on. No more hacking config files after each upgrade.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Jan 2006
    Posts
    14
    Rep Power
    9

    Default

    Yes but you still have to run another apache configuration to host a webserver?

    I should be able to host web and email from this one configuration correct?

    Also would it be possible to run something like this...

    WEB

    ServerAdmin ultra@example.com
    DocumentRoot /var/www/example/www
    ServerName www.example.com
    ErrorLog /var/www/example/logs/error_log
    TransferLog /var/www/example/logs/access_log


    EMAIL
    or diff port
    ServerAdmin ultra@example.com
    DocumentRoot /var/www/example/www
    ServerName email.example.com
    ErrorLog /var/www/example/logs/error_log
    TransferLog /var/www/example/logs/access_log


    Would this work ?

  6. #6
    Join Date
    Jan 2006
    Posts
    14
    Rep Power
    9

    Default

    (The 1649 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    21/tcp open ftp
    22/tcp open ssh
    25/tcp open smtp
    110/tcp open pop3
    143/tcp open imap
    389/tcp open ldap
    636/tcp open ldapssl
    993/tcp open imaps
    995/tcp open pop3s
    3306/tcp open mysql
    8080/tcp open http-proxy

    (13)Permission denied: make_sock: could not bind to address [::]:80
    no listening sockets available, shutting down
    Unable to open logs

    This is what I dont understand. Why can I bind port 80 when nothing is on it?

    Do I have to disable Zimbra port somewhere?

Similar Threads

  1. apache 2.2 mod_authnz_ldap to zimbra help?
    By jdell in forum Administrators
    Replies: 2
    Last Post: 06-13-2008, 03:11 PM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Access from zimlet to Apache in the same server
    By ruculmana in forum Zimlets
    Replies: 3
    Last Post: 10-31-2006, 09:26 AM
  4. www Port Conflict/Changing Zimbra Apache Setting
    By macguru in forum Administrators
    Replies: 15
    Last Post: 04-16-2006, 09:06 PM
  5. Replies: 4
    Last Post: 01-18-2006, 10:58 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
  •