https goes to default apache web site

Discussion in 'Installation/Configuration' started by Marcel van Ramshorst, May 2, 2016.

  1. Hi,
    I'm very new at ispconfig, but was doing some testing for a client.
    Just installed ispconfig on cent os 7 using the perfect server guide here:

    Now the issue is, I turned on SSL on the domain, and the https of the domain is going to the default apache web site on the server, and not the files of this specific domain.
    Anyone now why?
  2. sjau

    sjau Local Meanie Moderator

    is it apache 2.4?
  3. Yes it is 2.4.6
  4. sjau

    sjau Local Meanie Moderator

    Then login to ISPConfig, go to Sites, select the website you want and go to the Options tab. There, in the apache directive field fill in:

    <If "%{HTTPS} == 'off'">
        Redirect permanent /
    Of course fill in your actual domain name.

Share This Page