Howto make a standard subdomain

Discussion in 'Installation/Configuration' started by g00fy, Apr 19, 2013.

  1. g00fy

    g00fy New Member

    I am discovering ISPconfig3 and untill now I am very impressed by the possibilities. I use nginx for my websites and this is what I am looking for, but didn't succeed to configure yet:

    I installed roundcube in /usr/local/share/roundcube and added the code in the options tab of a domain to be able to connect to it by the url http://<domain>/roundcube. This went well, but I want to configure it so that:

    - Every domain gets a subdomain webmail.<domain>, which runs roundcube when connecting to it.
    - This subdomain will be only reachable over https.
    - The https://webmail.<domain> address remains visible in the address bar of the browser.

    I tried making an alias pointing to http://<domain>/roundcube and that works well, but in the address bar I see the redirected URL instead of webmail.<domain>.

    I have also the problem configuring this subdomain only using https. I think I can not configure this in the subdomain part of ISPconfig, but anly for the whole domain?

    May be anyone here can push me in the right direction how to make this possible with ISPconfig?

    By the way, I use ISPconfig3 on Debian Squeeze.

    Last edited: Apr 19, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not ispconfig specific, all you have to do is to create a vhost for roundcube.conf for webmail.<domain> similar as it is decsribed for squirrelmail in the perfects etup guides.
  3. g00fy

    g00fy New Member

    Tried to do this with a vhost for roundcube.conf, but then I get problems with the websites certificate, because in the roundcube vhost the same certificate is used for every client.

    So, if possible, how do I set it up so that it works the way I want it?

  4. g00fy

    g00fy New Member


    Is there anyone that can help me with this or is it just not possible?
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats possible but not with ssl off course as a ssl cert is for a specific domain or in case of a multidomain ssl cert for a few domains that you defined at the ssl cert authority. But thats all not ispconfig specific, it applies to any kind of webserver.

    If you wnat to use ssl, then create a normal website like webmail.yourdomain.tld and install roundcube in it or you use the aliases as it is done by default so your cutomers can reach roundcuve with /roundcube
  6. g00fy

    g00fy New Member

    I managed to solve it by installing roundcube and make an alias. Then making a site webmail.<domain> and redirect that to the roundcube alias. All is working fine now.

    But, now I have another challenge. I need to increase the upload_max_filesize setting in php.ini for roundcube. Tried to set this in the custom php.ini settings for the webmail.<domain> website, but this is not doing anything because it's not opening the site at all, but redirects to the roundcube alias immediately.

    Would it be possible to make this php.ini setting just for the roundcube alias, or do I have to make this change global (not preferred).

    Thanks again!

Share This Page