title: ASP .NET MVC - Change domain used by URL.Action?
body: <p>I have a website that has two domains pointing to the same content. Let's call them www.domainA.com and www.domainB.com where www.domainA.com/Page is the same as www.domainB.com/Page.</p>
  
  <p>Every page on the site has a number of common navigation links (and others) that are constructed using a mixture of Url.Action and Html.ActionLink calls. The resulting urls are based on the current domain. Because www.domainA.com is the primary domain, I would like any links generated from www.domainB.com to be based on www.domainA.com.</p>
  
  <p>Can this be done centrally, rather than me going around the whole site and hard-coding it?</p>
  
  <p>Thanks,
  Alan</p>