anchor.diff:  
   An app mapped to a wildcard route acts as a fallback app for route requests if the requested route does not exist. To create a wildcard route, use an asterisk for the hostname.
   
  -A developer can create a wildcard route in space `my-space` from the domain `foo.<%= vars.app_domain %>` with the following command:
  -
  -<pre class="terminal">
  -$ cf create-route my-space foo.<%= vars.app_domain %> --hostname '*'
  -Creating route *.foo.<%= vars.app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  -OK
  -</pre>
  +A developer can create a wildcard route from the domain `foo.<%= vars.app_domain %>` with the following command:
  +
  +* **cf CLI v7**
  +  <pre class="terminal">
  +  $ cf create-route foo.<%= vars.app_domain %> --hostname '*'
  +  Creating route *.foo.<%= vars.app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  +  OK
  +  </pre>
  +* **cf CLI v6**
  +  <pre class="terminal">
  +  $ cf create-route my-space foo.<%= vars.app_domain %> --hostname '*'
  +  Creating route *.foo.<%= vars.app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  +  OK
  +  </pre>
   
   If a client sends a request to `http://app.foo.<%= vars.app_domain %>` by accident, attempting to reach `myapp.foo.<%= vars.app_domain %>`, <%= vars.product_short %> routes the request to the app mapped to the route `*.foo.<%= vars.app_domain %>`.
   
  
positive.code: 
  This approach creates a route with the same address as the domain itself and is permitted for private domains only. For more information, see the [Private Domains](#private-domains) section.
  
  A developer can create a route in space `my-space` from the domain `<%= vars.private_app_domain %>` with no hostname with the [cf create-route](https://cli.cloudfoundry.org/en-US/cf/create-route.html) command:
  
  <pre class="terminal">
  $ cf create-route my-space <%= vars.private_app_domain %>
  Creating route <%= vars.private_app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  OK
  </pre>
  
  If DNS has been configured correctly, this command instructs <%= vars.product_short %> to route requests to apps mapped to this route from the following URLs:
  
  
negative.code: owner: Routing
  ---
  
  <% $this_topic = 'routes-domains' %>
  
  This topic describes how routes and domains work in <%= vars.product_full %>, and how developers and administrators configure routes and domains for their apps using the Cloud Foundry Command Line Interface (cf CLI).
  
  <p class="note"><strong>Note</strong>: cf CLI v7 does not support TCP routing. The commands in this topic related to TCP routing only work in cf CLI v6.</p>
  
  For more information about routing capabilities in <%= vars.product_short %>, see the [HTTP Routing](../../concepts/http-routing.html) topic.
  
  