extra webmail port

Discussion in 'Installation/Configuration' started by trexen, May 21, 2010.

  1. trexen

    trexen Member

    Hi,

    Is it possible to add a extra port for webmail access, now it is port 81 and is it possible to add webmail on port 80, 443, 8080 ?

    Offcourse i dont have any other services on thoes ports =)

    Rgds
    //M :)
     
  2. Mark_NL

    Mark_NL Member

    for example:
    Add "Listen 8080" to /etc/apache2/ports.conf

    and then create a <VirtualHost> for your webmail and set it, so that it listens to that port:

    Code:
    NameVirtualHost 1.2.3.4:8080
    <VirtualHost 1.2.3.4:8080>
     ServerName www.domain.tld
     DocumentRoot /var/www/webmail/
    </VirtualHost>
     
  3. Ben

    Ben Active Member Moderator

    What I did was to remove it completely from the ispconfig own apache and place it to the "general" apache that is serving my webs.

    One reason was to have it acessible via 80, 443 and more than that, one vhost is my ssl-"proxy" as I want webmail over ssl, only. Same for phpMyAdmin and other webapps.
     
  4. Mark_NL

    Mark_NL Member

    haha, paranoid mode = on ;-)

    i know the deal, i want everything over ssl if possible
     

Share This Page