subdomain URL to webmail

Discussion in 'Installation/Configuration' started by torusturtle, Aug 23, 2006.

  1. torusturtle

    torusturtle Member

  2. torusturtle

    torusturtle Member

  3. Ovidiu

    Ovidiu Active Member

    I use something like this:

    what it does is this: the first virtual host catches all domains that start with mail.whatever and redirects them to a single install of the webmailer of my choice (you could use roundcube).
    The second virtualhost takes every request on port 80 and forwards it to port 443 so that my users can only use webmal via ssl.

    Now here you have 2 possibilities to play around with, the one is a kind of a catchall for subdomains, you could use webmail.*, the other method works with a redirect, use whatever you like.

    p.s. these virtualhosts go into /etc/apache2/apache.conf (if you are using debian)

    justr some ideas to keep you going...
     

Share This Page