anchor.diff:  
   If there are no other routes for the domain, requests to any subdomain, such as `http://foo.<%= vars.private_app_domain %>`, will fail.
   
  -A developer can also create routes for subdomains with no hostnames. The following command creates a route in space `my-space` from the subdomain `foo.<%= vars.private_app_domain %>`:
  -
  -<pre class="terminal">
  -$ cf create-route my-space foo.<%= vars.private_app_domain %>
  -Creating route foo.<%= vars.private_app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  -OK
  -</pre>
  +A developer can also create routes for subdomains with no hostnames. The following command creates a route from the subdomain `foo.<%= vars.private_app_domain %>`:
  +
  +* **cf CLI v7**
  +  <pre class="terminal">
  +  $ cf create-route foo.<%= vars.private_app_domain %>
  +  Creating route foo.<%= vars.private_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.private_app_domain %>
  +  Creating route foo.<%= vars.private_app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
  +  OK
  +  </pre>
   
   Assuming DNS has been configured for this subdomain, this command instructs <%= vars.product_short %> to route requests to apps mapped to this route from the following URLs:
   
  
positive.code: 
  A developer can create three routes using the same hostname and domain in the space `my-space` with the following commands:
  
  <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 new routes to different apps by following the steps in the [Map a Route to Your App](#map-route) section below.
  
  
negative.code: 
  #### <a id='create-route-with-hostname'></a> Create an HTTP Route with Hostname
  
  In <%= vars.product_short %>, a hostname is the label that indicates a subdomain of the domain associated with the route. Given a domain `<%= vars.app_domain %>`, a developer can create the route `myapp.<%= vars.app_domain %>` by specifying the hostname `myapp` with the [cf create-route](https://cli.cloudfoundry.org/en-US/cf/create-route.html) command as shown in this example:
  
  * **cf CLI v7**
    <pre class="terminal">
    $ cf create-route <%= vars.app_domain %> --hostname myapp
    Creating route myapp.<%= 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 <%= vars.app_domain %> --hostname myapp
    Creating route myapp.<%= vars.app_domain %> for org my-org / space my-space as username<span>@</span>example.com...
    OK
    </pre>
  
  This command instructs <%= vars.product_short %> to only route requests to apps mapped to this route for the following URLs:
  
  