What is the optimal way to remove the www subdomain from a url using IIS URL Rewrite?
IIS does it automatically for you:
Select site > URL rewrite > new rule > Canonical Host Name :)