(Vhost) Alias domains with own SSL certificates

Discussion in 'ISPConfig 3 Priority Support' started by LIJE, Aug 30, 2016.

  1. LIJE

    LIJE Member

    Hi,

    I updated my ISP 3.0 to ISPConfig Version: 3.1dev because I saw this old post dealing with vhost alias domains:
    https://www.howtoforge.com/communit...lias-domains-with-own-ssl-certificates.70923/
    (and also because the 3.1 has been merged to the master branch two days ago)

    So here is the thing. I got:
    domain1.com: main domain running Prestashop
    domain2.com: it's configured as a multishop in Prestashop. So it must have the same document root folder.

    I first wanted to use alias domains but I can't create ssl certificates with it. Both sides must use ssl.
    Can you tell me how to create vhost alias domains to be able to create a ssl certificates for my domain2.com please?

    I'm running Apache Debian 8.5.

    Thanks
    Regards
     
    Last edited: Aug 30, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Enable vhost alias domains under System > Interface config.
    2) Add a vhost alias domain.
    3) Add a ssl cert in that vhost alias domain.
     
  3. LIJE

    LIJE Member

    Thanks.

    What should i put in web folder?
    I want it to be the same folder than the main domain.
     
  4. LIJE

    LIJE Member

    I put web as the default web folder is "web" in isp config.
    I got the default page "This is the default index page of your website.".
     
  5. LIJE

    LIJE Member

    Ahah, found a bug :)
    When you create a vhost alias domain, isp config creates the default index.html in the web root folder of the main website (wow!).
    I had to remove it.
     
    Last edited: Aug 30, 2016
  6. LIJE

    LIJE Member

    I found another little bug.
    The link is not working:

    [​IMG]
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page