ssl certificate lets encrypt not working for www code example
Example: let's encrypt ssl not working
Try turning RewriteEngine On in .htaccess file to RewriteEngine Off. If this fixes it, you know there's something in that file that's making it not work.