When considering SEO, either you have to stick with www versioned url or non-www URLs. Having both accessible for a domain is a bad practice.
Internet Information Services
8 posts tagged with “Internet Information Services”
Use IIS rewrite rule to redirect (301) all www requests to non-www.
Use IIS Rewrite rule to redirect all HTTP request to HTTPS.
Use the provided rewrite rule to redirect HTTPS requests to HTTP.
Restrict access to your website using IIS IP security
If OPTIONS preflight request getting 404 and URLScan enabled on your hosting machine, check out this article.
Disable CORS for IIS 10 website by allowing all origins in two simple steps.