HTTPS DOESN'T WORK AT ALL (SHOWS APACHE2 DEFAULT PAGE)

Discussion in 'Installation/Configuration' started by gildun abdelkrim, Oct 26, 2017.

  1. gildun abdelkrim

    gildun abdelkrim New Member

    Hello, After having tried to make my configuration work for the past 3 days, having spent 30+ hours on it I'm resorting to sending you a message desperately hoping that you will be able to help me..

    I recently bought an OVH VPS and decided to migrate my website from one VPS to my current one, For that I used a tutorial explaining how to properly set up a server with ISP CONFIG3 (you guys are famous),

    Then to install my website in itself I used the Duplicator plugin to migrate my files properly.

    After having changed the Server IP to a correct one, the non-SSL version works like a charm, But every single time I try to open an HTTPS page I either fall on the default "It works page" or when I try to open a new URL I simply get a 404 not found..

    My guess would be that the https makes the server look into the var/www/html directory .. I really am desperate and I really wish that you can help me on that..
    Thanks in advance,
    Sam
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely the website has no SSL. Do you use a ssl cert that you bought somewhere or do you use letsencrypt in that site?
     
  3. gildun abdelkrim

    gildun abdelkrim New Member

    I use let's encrypt from the website (when I click on the certificate it writes 'vpsXXX.OVH.NET auto signed certificate).

    And UPDATE to my case :
    When I try to open another page than the index in HTTP I now get an internal error, adding to the HTTPS issue..

    Yours Sam
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. gildun abdelkrim

    gildun abdelkrim New Member

    But as I said now even the http protocol doesn't work anymore,
    That is to say even my other pages dont open (I get HTTP 500 INTERNAL ERRORS),
    Only my index is opening..
     
  6. Hostechsupport

    Hostechsupport New Member

    hello gildun,
    >>Normally 500 internal server error caused due to bad permission and ownership assigned to the file. Analyzing error logs can give you more information.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the error.log of that website to find out why. The log file is in /var/www/yourdomain.tld/ log/ directory.
     

Share This Page