Hi there.
I'm looking to redirect all subdomains but one with specific 6789 port to be redirected to
Is there an option to add Rewrite conditions & rules for OpenLiteSpeed Web Admin itself?
I've looked into docs and forums, but there seems to be no intuitive or simple way to do it (without editing admin backend code).
I also tried to:
Thanks in advance for any info provided!

I'm looking to redirect all subdomains but one with specific 6789 port to be redirected to
https://spec.domain.com:6789
for the Web Admin. So if I visit https://anyrandomsubdomain.domain.com:6789
I get redirected to https://spec.domain.com:6789
Is there an option to add Rewrite conditions & rules for OpenLiteSpeed Web Admin itself?
I've looked into docs and forums, but there seems to be no intuitive or simple way to do it (without editing admin backend code).
I also tried to:
- Add rewrite rules in Virtual Host > Rewrite settings (didn't work)
- Add .htaccess in virtual host map (didn't work)
- Add .htaccess in
/usr/local/lsws/admin/html/
(didn't work)
Thanks in advance for any info provided!