anchor.diff:  
   When a developer creates a route using the cf CLI, <%=vars.product_short%> determines whether the route is an HTTP or a TCP route based on the domain. To create a HTTP route, a developer must choose a HTTP domain. To create a TCP route, a developer must choose a TCP domain.
   
  -Domains in <%=vars.product_short%> provide a namespace from which to create routes. To list available domains for a targeted organization, use the `cf domains` command. For more information about domains, see the <a href="#domains">Domains</a> section. 
  +Domains in <%=vars.product_short%> provide a namespace from which to create routes. To list available domains for a targeted organization, use the [cf domains](http://cli.cloudfoundry.org/en-US/cf/domains.html) command. For more information about domains, see the <a href="#domains">Domains</a> section. 
   
   The following sections describe how developers can create HTTP and TCP routes for different use cases.
   
  
positive.code: 
  ## <a id='routes'></a>Routes ##
  
  The <%=vars.product_short%> router routes requests to applications by associating an app with an address, known as a route. This association is called a mapping: for example, the cf CLI command for associating an app and route is `map-route`.
  
  The routing tier compares each request with a list of all the routes mapped to apps and attempts to find the best match. For example, the router would make the following matches for the two routes `myapp.<%=vars.app_domain%>` and `myapp.<%=vars.app_domain%>/products`:
  
  
negative.code: 
  <pre class="terminal">
  $ cf create-route my-space <%=vars.app_domain%> --hostname store --path products
  Creating route store.<%=vars.app_domain%>/products for org my-org / space my-space as username<span>@</span>example.com...
  OK
  
  $ cf create-route my-space <%=vars.app_domain%> --hostname store --path orders
  Creating route store.<%=vars.app_domain%>/orders for org my-org / space my-space as username<span>@</span>example.com...
  OK
  
  $ cf create-route my-space <%=vars.app_domain%> --hostname store
  Creating route store.<%=vars.app_domain%> for org my-org / space my-space as username<span>@</span>example.com...
  OK
  
  </pre>
  
  The developer can then map the the new routes to different apps by following the steps in the <a href="#map-route">Map a Route to your Application</a> section below.
  