Www. to non www. on a windows server, how?

Hey guys.

In the past I have used linux servers and just used to do redirect www. to non www, but on a windows server… how do I do it?

I’ve asked loads of developers, and non of them know how?

Its the same with redirecting the IP to the domain, how do I do this on windows?

I’d be grateful for any advice!

About Me:
I’m new in this forum, I am a consultant and have worked with multiple firms