I have a question regarding the openlitespeed wordpress droplet. I am planning to use it for an api. ie: https://api.mysite.com
I got this far:
When I visit the subdomain in the browser, the website is displayed but not under the desired url. Instead, it is forwarded to the naked IP address at which point the installed certificate fails. The cert is issued for the subdomain and not the ip address.
How can I keep the subdomain in the url bar?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
Ooops! The wordpress install had the raw ip set in the site_home and site_url fields. Everything was working as intended but wordpress was redirecting back to the ip.
You probably haven’t mapped the api virtual hosts + domain to the listener.
Let us know if it works or not.