What is the optimal way to remove the www subdomain from a url using IIS URL Rewrite?
To do a redirect that will work for both http and https the following can be used