This is working, however I have several add on domains on my hosting and when I try to access the other add-on domains, the add on domains are also forced to use SSL .
That’s pretty close ( :tup: ) but I believe that {HTTPS} can only be null or “on” (without the quotes) so I check for not port 443 (SSL off). Your second line is SPOT ON! Your third, though, bothers me as the regex is simply the start anchor then the redirection - I’d recommend “.?” (without the quotes) as it will forct the match you’re looking for.
Is there a reason you’re using the No Escape flag? IMHO, that’s not needed.