Roundcube, ISPConfig, Nginx

Discussion in 'Plugins/Modules/Addons' started by onastvar, Feb 4, 2013.

  1. onastvar

    onastvar Member


    I've decided to try roundcube instead of squirrelmail. Installed Roundcube in subfolder /webmail under (/var/www/clients/client0/web1/web/webmail/) webmail is currently accessible via

    I can login with any email account and it works fine. I'm trying to find out how can I make it available under other domains.

    1) Right now I can only access webmail via
    I'd like to make it accessible via

    2) I cannot access webmail under other domains

    I'm not sure how to make this work. I know it's possible. Do I need to add code to NGINX Directives under each site? Anyone have similar setup, please advise?

    Thank You!
  2. pititis

    pititis Member

    You can install roundcube using the apps vhost, so every user can access roundcube (or everything you install there) in this way:

    Software installed in the apps directory /var/www/apps must be owned by the user and group ispapps

    Please note that /var/www/apps is the location in debian/ubuntu and I can't assume the location in centos for example.

    Another option is create the subdomain webmail for each domain and redirect it to the desired location.

  3. onastvar

    onastvar Member

    That approach worked - Thank You Pititis!
  4. onastvar

    onastvar Member

  5. Ovidiu

    Ovidiu Active Member

    I'm very much interested in this too. Currently I use this nginx location:

    BUT I need to have a subdomain webmail pointing to /var/www/webmail for the simple reason that for most of my domains use CloudFlare (the free version which doesn't support HTTPS) and so I can't enable HTTPS for domain.tld only for i.e. webmail.domain.tld and bypass CloudFlare for that subdomain.

    Any ideas on how to do this with ISPCFG3+nginx?
  6. falko

    falko Super Moderator ISPConfig Developer

    Create a new vhost ( and add your directives to the nginx directives field. Inside the location block, you add

    root /var/www/webmail;
  7. Ovidiu

    Ovidiu Active Member

    Thanks, I created a new vhost called and used this location and so far I haven't found any problems with it :)

  8. onastvar

    onastvar Member

    Thanks! That also worked perfectly in my environment.

Share This Page