Our web site is on an IIS server and I want to do a redirect of domain.com to www.domain.com so that the visitors browser will always show www.domain.com and not domain.com. I have read online information that this is possible and have also seen instructions for doing so in Internet Services Manager.
I asked my web host to setup the redirect and they came back with:
"Our system uses ip based virtualhosting. What this means is that each seperate website configuration has it's own ip address assigned to it.
Therefore when someone goes to domain.com versus www.domain.com since they have the same ip address they goto the same site.
For us to setup a url redirection as requested we would have to assign domain.com to a seperate ip address, setup a new configuration for that webiste and then have that new website configuration redirect to www.domain.com."
If you're running something like ASP on the site you can just check the HTTP_HOST header that the browser issues via Request.ServerVariables, and if it's not in a set list then issue a redirect to the domain you actually want them to go to.
My understanding is that both www and non-www were already setup on the IIS server. You can enter either www.domain.com or domain.com in a browser and both work exactly the same(the only difference being the lack of "www").
What my provider seems to be indicating is that there is a difference in how their servers/IP addresses are configured versus the configuration of the server setup on the example page.