Create subdomain where doc-root is a part of another subdomain

Discussion in 'Installation/Configuration' started by Bonzo, Jul 3, 2018.

  1. Bonzo

    Bonzo New Member

    first my system:
    Ispconfig 3.1.12
    Debian 7.9
    Now the problem:
    I have a couple of smaller web-apps that make up a whole, big application. I create a subdomain pointing to this big app, like bigapp.domain.tld.
    All the smaller applications are inside the doc-root of this subdomain and they have to be there because the smaller apps make the big app as a coherent whole.
    Now I want to make a subdomain pointing to only one part of the big app, like component1.domain.tld and the docroot should be inside the doc-root of the big app in a subfolder.
    Doc-root: /var/www/bigapp.domain.tld/web/
    Doc-root: /var/www/bigapp.domain.tld/web/component1/
    I've tried a couple of things but nothing seems to work.
    I've tried it with redirect but the best I get is an redirect like bigapp.domain.tld/component1/ and letsencrypt doesnt work.
    I've tried but that doesn't seem to work either.
    Any suggestions ?
    Thank you
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    turn on the 'Create subdomains as web site' option in main config and you should be able to create the subdomain as you wish.
  3. Bonzo

    Bonzo New Member

    I got it. I had to use Alias Domain though. Thank you very much

Share This Page