There are plenty of examples here of how to redirect
www.example.com, but I'm looking for a generic version, so the same htacess code would also work to redirect
www.example.org. I'm sure this exists (indeed, I have a vague memory I've done it before, somewhere), but I'm fairly unfamiliar with htaccess regex.
I need a way to match the condition
HTTP_HOST does not begin with