title: Domain routes in Play Framework 2.3
body: <p>I want to point multiple subdomains and/or root domains to a single Play Framework 2.3 (Scala) application, for example apples.com, bananas.com or buy.bananas.com.</p>
  
  <p>Depending on which domain the request comes in, I want to have different routes.</p>
  
  <p>Ideally, it should work something like this:</p>
  
  <pre><code>GET    apples.com        @controllers.ApplesController.home
  GET    bananas.com       @controllers.BananasController.home
  GET    buy.bananas.com   @controllers.BananasController.buy
  </code></pre>
  
  <p>Is there any way to do this in Play Framework 2.3?</p>