SSL problem with OpenLiteSpeed WP
Hello, This is my droplet: 126.96.36.199
I have linked it with the domain: perfectfoodblog.com
The problem is getting the SSL certificate working.
followed this guide: https://docs.litespeedtech.com/cloud/wordpress/#step-1
I rebuild a dropled which was linked to the domain already (A records are pointed to the server).
Then I accessed the console and went through step-by-step guide to get let’s encrypt certificate.
Then I installed the wp.
I added listeners, mappings and rewrite rules in LiteSpeed panel too.
But the problem still exists:
When I enter the address in browser, It changes to server IP and SSL won’t work, instead it shows insecure connection (because SSL certificate is generated on the domain name).
I changed website address from WP settings to https://perfectfoodblog.com. Now when I access https://perfectfoodblog.com/wp-admin it works great (browser sees valid certificate) but when I go to “front”, it still shows IP address instead of domain name :/
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.