Server stopped working when I try to a2ensite an ssl.conf file

I'm currently trying to create a page with apache2 on a Debian stretch to host an app but when I a2ensite the HTTP version it just doesn't work, and when I enable the ssl one the entire server stops working, even the pages not related to that one page. Both conf files are fine plus logs don't show anything, I'm stuck, any idea what could be wrong?

1 answer

  • answered 2018-07-12 07:12 Pankaj Kumar

    1. disable site like: a2dissite default-ssl.conf
    2. Restart apache like: service apache2 reload
    3. Now enable site like: a2ensite default-ssl.conf 5 Restart apache again    like: service apache2 reload