anchor.diff:  
   You can view available domains for the targeted organization using the `cf domains` command.
   
  -In this example, there are two available domains: a system-wide default `<%=vars.app_domain%>` domain and the custom `example.org` domain.
  -
  -<pre class="terminal">
  -	$ cf domains
  -	Getting domains in org console as user@example.org... OK
  -
  -	name           status
  -	<%=vars.app_domain%>    shared
  -	example.org    owned
  -</pre>
  -
  -### <a id='assign-domains-subdomains'></a>Assign Domains and Subdomains ###
  -
  -You can assign a domain and subdomain to your application from either the command line with `cf push` or in the application manifest.
  +In this example, there are two available domains: a system-wide default "<%=vars.app_domain%>" domain and the custom "example.org" domain.
  +
  +<pre class="terminal">
  +$ cf domains
  +Getting domains in org console as user@example.org... OK
  +
  +name           status
  +<%=vars.app_domain%>    shared
  +example.org    owned
  +</pre>
  +
  +### <a id='assign-domains-hosts'></a>Assign Domains and Hosts ###
  +
  +You can assign a domain and host to your application using either the command line or the application manifest.
   
   #### <a id='assign-at-push'></a>Assign Using the cf CLI ####
   
  -When you run `cf push`, you can optionally assign a domain and subdomain to the application.
  -
  -- Domain: Use the `-d` flag to specify one of the domains available to the targeted org.
  -- Subdomain: Use the `-n` flag to provide a string for the subdomain.
  +When you run `cf push`, you can optionally assign a domain and host to the application.
  +
  +- **Domain**: Use the `-d` flag to specify one of the domains available to the targeted org.
  +- **Subdomain**: Use the `-n` flag to provide a string for the host.
   
   The route Cloud Foundry creates for the application as a result of the following command is `myapp.example.org`.
   
   <pre class="terminal">
  -	$ cf push myapp -d example.org -n myapp
  +$ cf push myapp -d example.org -n myapp
   </pre>
   
   #### <a id='assign-in-manifest'></a>Assign Using the Manifest ####
   
  -When you create or edit the manifest for an application, you can use the `host` and `domain` attributes to define the subdomain and domain components of the application route, respectively. For more information, see [Application Manifests](../deploy-apps/manifest.html).
  +When you create or edit the manifest for an application, you can use the `host` and `domain` attributes to define the host and domain components of the application route, respectively. For more information, see [Application Manifests](../deploy-apps/manifest.html).
   
   ### <a id='delete-domains'></a>Delete a Domain ###
   
   You can delete a domain from Cloud Foundry with the `cf delete-domain` command:
   
   <pre class="terminal">
  -	$ cf delete-domain example.org
  +$ cf delete-domain example.org
   </pre>
   
   ## <a id='customize-route'></a>Managing Your Routes ##
   
   ### <a id='list-routes'></a>List Routes ###
   
  -You can list routes for the current space with `cf routes` command. Note that the subdomain is shown as "host," separate from the domain segment.
  +You can list routes for the current space with `cf routes` command. Note that the host is separate from the domain segment.
   
   For example:
   
   <pre class="terminal">
  -	$ cf routes
  -	Getting routes as user@example.org ...
  -
  -	host                     domain          apps
  -	myapp                    example.org     myapp1
  -	myapp2
  -	1test                    <%=vars.app_domain%>     1test
  -	sinatra-hello-world      <%=vars.app_domain%>     sinatra-hello-world
  -	sinatra-to-do            <%=vars.app_domain%>     sinatra-to-do
  +$ cf routes
  +Getting routes as user@example.org ...
  +
  +host                     domain          apps
  +myapp                    example.org     myapp1
  +myapp2
  +1test                    <%=vars.app_domain%>     1test
  +sinatra-hello-world      <%=vars.app_domain%>     sinatra-hello-world
  +sinatra-to-do            <%=vars.app_domain%>     sinatra-to-do
   </pre>
   
   ### <a id='create-route'></a>Create a Route ###
  
positive.code: For example, this command creates the `myapp.example.org` route in the "development" space:
  
  <pre class="terminal">
  	$ cf create-route development example.org -n myapp
  </pre>
  
  ### <a id='map-route'></a>Assign or Change a Route ###
  
  Assign or change the route for a particular application with the `cf map-route` command. Specifying the subdomain is optional. If the route does not already exist, this command creates it and then maps it.
  
  For example, the following command maps the route `myapp.example.org` to the "myapp" application:
  
  <pre class="terminal">
  	$ cf map-route myapp example.org -n myapp
  </pre>
  
  <p class="note"><strong>Note</strong>: You can map a single route to multiple applications in the same space.
  	See <a href="../deploy-apps/blue-green.html">Blue-Green Deployment</a> to learn about an
  	important extension of this technique.</p>
  
  If the application is running when you map a route, restart the application. The new route is not active until the application is restarted.
  
  
negative.code: 	<tr>
  		<td>CNAME</td>
  		<td>test</td>
  		<td>foo.<%=vars.app_domain%>.</td>
  		<td>Refer to your DNS provider documentation to determine whether the trailing <code>.</code> is required.</td>
  	</tr>
  </table>
  
  ###<a id='subdomain-app'></a>Configuring Your Application to Use a Private or Shared Subdomain ###
  
  You can modify your application domain by mapping subdomains to the domain. Each added subdomain is the child to its following parent domain. The subdomains must meet the following requirements:
  
  * **Private Subdomains**:
  	* You can map a private subdomain to a private parent domain only if the domains belong to the same org.
  	* You can map a private subdomain to a shared parent domain.
  
  * **Shared Subdomains**:
  	* You can only map a shared subdomain to a shared parent domain.
  	* You cannot map a shared subdomain to a private parent domain.
  
  To configure your application to use a domain with a subdomain, create the domain and map the route to your application as follows:
  
  1. Create the domain in Cloud Foundry and associate it with an org.
  
  	The command below defines the domain "myapp.example.org" in the "test-org" organization:
  
  	<pre class="terminal">
  	$ cf create-domain test-org myapp.example.org
  	</pre>
  
  1. Map the route to your app with an optional hostname, as the example shows:
  
  	<pre class="terminal">
  	$ cf map-route myapp myapp.example.org -n test
  	</pre>
  
  ## <a id='customize-route'></a>Managing Your Domains ##
  
  