Two Domains under one Root

Discussion in 'Installation/Configuration' started by chri.s, Feb 15, 2018.

  1. chri.s

    chri.s New Member

    Hi Guys,

    one short question, lets say i have a customer with a CMS which adapts sites under one root but by their different domains.
    but i want to get an letsencrypt certificate for each domain.
    How do i have to put nginx dir's to reach this without correct root path each time?

    Thank you,

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The first domain is added as a website, all other domains get added as alias domains to that website. There is no need to set or alter any root paths and alias domains get added t the LE cert of the website automatically, so no need for any configuration there as well.
  3. chri.s

    chri.s New Member

    Hello till,
    thanks for your answer, ok that helps actually, even when i tried it before and the SSL Cert was not generated. But is it possible to solve it like within an standard nginx environment with dedicated settings?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There are no additional settings required in a standard setup. If you created websites for the additional domains already, then the first step is to delete them and add the domains as alias domains instead. This will add them to the LE cert automatically. If this does not work on your server, then you can find the reason for that in the letsencrypt.log file or ISPConfig debug log.

Share This Page