Using XAMPP Control Panel v3.3.0
I have a Wordpress website fully functional under port 80 and http://website-example.org
What I've done;
- - Used Certifytheweb and Let's Encrypt to obtain a Certificate and Key.
- Placed the certificate in C:\xampp\apache\conf\ssl.crt\certificate.crt
- Placed the key in C:\xampp\apache\conf\ssl.crt\private.key
- Enabled Port 443 on Windows and Router
- For httpd.conf;
- * made sure no # in front of LoadModule ssl_module modules/mod_ssl.so
* made sure no # in front of Include conf/extra/httpd-ssl.conf
- * DocumentRoot "C:/xampp/htdocs"
* ServerName localhost:443 (also tried website-example.org with no difference)
* SSLCertifcateFile "conf/ssl.crt/certifcated.crt"
* SSLCertificateKeyFile "conf/ssl.key/private.key"
I then restarted Apache, retried the website as https://website-example.org and it didn't give me an error but instead it displays the XAMPP Apache + MariaDB + PHP + Perl Welcome screen. It also does the same for http: It never displays the website.
What am I doing wrong?