Site enabled SSL wierd problem with ISPConfig 3

Discussion in 'General' started by paranoico, Mar 16, 2015.

  1. paranoico

    paranoico New Member

    I have followed these pages:
    To create subdomain through Create Domain method. Name is like
    But enabling SLL on that and using next page:
    Modified Apache directives in order to force HTTPS on subdomain.

    Now the problem:
    Subdomain is now resolving to default "It works!" page using HTTPS, not ISPConfig 3 default page.
    Moreover, looking at apache vhost file there is no VirtualHost *:443 section.

    I think it is supposed that ISPConfig should modify vhost file, right? Or should I alter it manually?
    Besides, is the site SSL option supposed to set up that or am I missing something?
    Thanks in advance.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig has no default page. When an apache webserver des not find a vhost with matching IP / domain combination, then it will show the first vhost that it finds on the same IP address. Additionally to that bhaviour, you should not Mix IP and * in the ipv4 field of the website. either use * for all sites or use the IP for all sites. If you would mix * and IP address, then all sites that use * will show the site were you selected the IP address.

    This means that there is a problem with the ssl cert or that you did not enable ssl on the first tab of the website settings.
  3. paranoico

    paranoico New Member

    All domains have ipv4 field set to *.
    SSL is enabled on both subdomain first page ( and domain first page (

    So, how can I check SSL Cert? Should I create it again? Does it have to be created inside subdomain too or just domain?
    I assumed domain cert was applied on subdomain too. Am I wrong?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you added a subdomain to the website, then it gets applied. If you used a separate website for the subdomain or a vhost subdomain, then this subdomain is a completely different apache vhost, so it needs its own ssl cert.
  5. paranoico

    paranoico New Member

    Thanks a lot Till,

    It made the trick.

Share This Page