I have a similar problem here, it started suddenly after I deleted a bunch of additional domains from a suspended Website.
1- All the Websites’ main domain all seem to work fine. .htaccess is effective and the website displays. The problem is with only some add-on domains of some websites. Mostly all of the add-on domains are merely aliases (shared document root) for working WordPress multisite installs.
2- Those faulty add-on domains fail to use their proper SSL certificate and issue a 404 error (OpenLiteSpeed page) (both on http:// and https://).
3- All the faulty domain use the same SSL from one of the main domains (which happens to match OLS’s Listener default SSL certificate as set for all VH Mappings) in place of their ones.
4- I have one Website which works on the main domain and some add-on domains, but not for other add-on domains.
5- This might be a clue : the add-on domains that work are the oldest ones. From the moment one domain fails, all the following domains in List Domain (that where added after that one) also fail.
6- On one Website, I tried deleting all add-on domains and re-creating them, but then LetsEncrypt SSL issuance fails and falls back to self-signed cert, and the domain still shows a 404 error.
7- All domains’ (faulty or not) .htaccess, vHost Conf and SSL certificate and permissions seem correct in Manage Website view.
8- I compared settings in OLS WebAdmin between working vHost and faulty vHost and couldn’t find any significant difference. I also compared the SSL Listener’s Virtual Host Mapping but they all use virtually the same settings. (That’s where I saw that they are all set with the SSL certificate that shows on faulty domains in place of their own).
It seems to me the issue is related to OpenLiteSpeed recognizing the domains and passing control to the appropriate Virtual Host. The fact that older add-on domains still work and everything else fails at one point might indicate something (point #5).
Questions:
Q1. This host is still running CyberPanel v. 2.0.3. Would updating CyberPanel help, or only make things worse?
Q2. Current version of openlitespeed package is 1.7.11-1+focal. Should I roll back to a previous version?
This is some serious issue, and I have A LOT of sites experiencing some serious downtime right now. Any help would be MUCH appreciated.