Virtual Host configuration works in Firefox but not IE
I have several domains, some of which I host websites for, and others where I just redirect to an already existing website. I am trying to configure them all so that when a user enters www.domain.com or just domain.com, they are taken to their website. I configured virtual host statements like below:
So with the above directive, Firefox will open the site just fine with and without the "www" before the domain. IE will only open the domain with www attached. If I omit "www", then I just get sent to a google page trying to search for the proper website. I got around this by tweaking my BIND zone file for the domain. It originally was written as:
I changed it to:
www A ip_address
Now IE and Firefox will resolve the domain whether it has www attached or not.
www CNAME domain.com.
But I still can't get IE to work without "www" for domains that I redirect to sites I don't host. An example of those VirtualHost statements are:
So my main question is, why can Firefox recognize the ServerAlias statements, but not IE? How can I fix this?
Redirect / http://forward_to_existing_website.com