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
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?
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
Please check if the SSL and Letsencrypt checkbox in this website stayed checked. If they are unchecked now, then the LE cert could not be created and therefore the SSL vhost not activated. In that case, check the LE FAQ here for possible reasons for your problem: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/
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..
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.
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.