Question : How can I resolve a conflict with dueling IP addresses for our website?

Our site is hosted externally and has one IP address. We run an exchange server in-house that houses our emails and shares the same domain name. That has a different IP address. When I'm working in-house my website will return a 404 error if I don't have the www. in front of the domain name. Is there a way to fix this without having to rename our email / exchange server and without causing other problems?

Also -- not my decision to use our internal server to host our emails. Logically I know this could be resolved by using the webhost as the conduit for our emails. Unfortunately, logic isn't always practiced.

Answer : How can I resolve a conflict with dueling IP addresses for our website?

yourdomain.com, internally, is always going to resolve to a domain controller - if you have only one domain controller it'll always resolve to that one server.  You can run IIS on those servers, and make the default.asp for the website the code below, which simply re-directs to www.yourdomain.com.
1:
2:
3:
4:
5:
<%@ Language=VBScript %>
<%
Response.Redirect "http://www.yourdomain.com/"
Response.End
%>
Random Solutions  
 
programming4us programming4us