Our company changed it's name and so the URL for all of our IN HOUSE HOSTED web sites and web applications.
How can I "redirect" www.OLDDomainName.com/Whatever
Some pages are ....com/default.htm and some are ....com/default.aspx.
Then some web applications are virtual directories like, www2.DomainName.com/WebApp
Both the old and the new URLs point to all the same pages. We have one web server and one set of web sites. I just want for when someone browses to OldDomain.com it changes or redirects them to NewDomain.com. What shows in the address bar is the primary concern.
I tried putting a META permanent redirect "301" in the <head> of a page but it just made an infinite loop since for both URLs it's the same actual page.
Windows Server 2008 R2, IIS 7.5, ASP.Net and plain HTML