title: robots.txt file for different domains of same site
body: <p>I have an ASP.NET MVC 4 web application that can be accessed from multiple different domains. The site is fully localized based on the domain in the request (similar in concept to <a href="https://stackoverflow.com/questions/1638669/how-to-get-host-header-from-httpcontext-asp-net">this question</a>). </p>
  
  <p>I want to include a robots.txt file and I want to localize the robots.txt file based on the domain, but I am aware that I can only have one physical "robots.txt" text file in a site's file system directory.</p>
  
  <p>What is the easiest/best way (and is it even possible) to use the ASP.NET MVC framework to achieve a robots.txt file on a per-domain basis so that the same site installation serves content to every domain, but the content of the robots file is localized depending on the domain requested?</p>