anchor.diff:  		<td>URL or Forward</td>
   		<td>example.org</td>
   		<td>www.example.org</td>
  -		<td>This method results in a "301 permanent redirect" to the subdomain you configure. </td>
  +		<td>This method results in a <code>301 permanent redirect</code> to the subdomain you configure.</td>
   	</tr>
   	<tr>
   		<td>CNAME</td>
   		<td>www</td>
  -		<td>yourappname.cfapps.io</td>
  +		<td>foo.cfapps.io</td>
   		<td></td>
   	</tr>
   </table>
   
  -####<a id='root-app'></a>Configuring Your Application to Use a Root Domain ####
  +###<a id='root-app'></a>Configuring Your Application to Use a Root Domain ###
  +
  +The following section contains instructions for creating a domain and mapping the route to your application. Since the route is a root domain and does not have a host appended to the domain, both the domain and route in this section are represented with "example.org."
   
   1. Create the domain in Cloud Foundry and associate it with an organization.
   
  -	The command below defines the custom domain `example.org` in the "test-org" organization:
  -
  -	<pre class="terminal">
  -		$ cf create-domain test-org example.org
  -	</pre>
  -
  -1. Map the route to your app depending upon whether it is using a shared domain.
  +	The command below defines the domain "example.org" in the “test-org” organization:
  +
  +	<pre class="terminal">
  +	$ cf create-domain test-org example.org
  +	</pre>
  +
  +1. Map the route to your app. The command you use depends on whether the app uses a shared domain.
   
   	If your route is not using a shared domain, use the `cf map-route` command as the example shows:
   
   	<pre class="terminal">
  -		$ cf map-route myapp example.org
  -	</pre>
  -
  -	If your route is using a shared domain, use the `-n HOSTNAME` parameter with the `cf map-route` command to specify a unique hostname for the route. The command below maps the route `myapp.example.org` to the application named "myapp":
  -
  -	<pre class="terminal">
  -	  $ cf map-route myapp example.org -n myapp
  -	</pre>
  -
  -### <a id='subdomain'></a>Mapping a Private or Shared Subdomain ###
  -
  -Domains can be multi-level and contain subdomains like the “myapp” in `myapp.<%=vars.app_domain%>`. A subdomain can be _shared_ or _private_. Shared domains are registered to multiple orgs while private domains are registered to one org.
  -
  -####<a id='subdomain-dns'></a>Configuring a CNAME Record with Your DNS Provider ####
  -
  -Configure your custom domain using a CNAME record.
  +	$ cf map-route myapp example.org
  +	</pre>
  +
  +	If your route is using a shared domain, use the `-n HOSTNAME` parameter with the `cf map-route` command to specify a unique hostname for the route. The command below maps the route "myapp.example.org" with the hostname "app" to the application named "myapp":
  +
  +	<pre class="terminal">
  +	$ cf map-route myapp example.org -n app
  +	</pre>
  +
  +## <a id='parent'></a>Using a Parent Domain ##
  +
  +In the multi-level domain "myapp.<%=vars.app_domain%>," "<%=vars.app_domain%>" is the parent domain of subdomain “myapp.”
  +
  +###<a id='parent-dns'></a>Configuring a CNAME Record with Your DNS Provider ###
  +
  +Follow the [Configuring a CNAME Record with Your DNS Provider](#subdomain-dns) procedure in the Using a Private or Shared Subdomain section.
  +
  +###<a id='parent-app'></a>Configuring Your Application to Use a Private or Shared Parent Domain ###
  +
  +You can modify your application domain by creating parent domains that meet the following requirements:
  +
  +* **Private Parent Domains**: You can only create a private domain that is parent to a private subdomain.
  +
  +* **Shared Parent Domains**: You can create a shared domain that is parent to either a shared or a private subdomain.
  +
  +## <a id='subdomain'></a>Using a Private or Shared Subdomain ##
  +
  +Domains in Cloud Foundry can be multi-level and contain subdomains like the “myapp” in the domain "myapp.<%=vars.app_domain%>." In this case, "<%=vars.app_domain%>" is the parent domain of the subdomain “myapp.” In the domain "test.myapp.example.org," “test” is a subdomain with the parent domain "myapp.example.org."
  +
  +###<a id='subdomain-dns'></a>Configuring a CNAME Record with Your DNS Provider ###
  +
  +Configure your domain using a CNAME record.
   
   CNAME records follow the pattern illustrated below:
   
  
positive.code: 	<tr>
  		<td>ALIAS or ANAME</td>
  		<td>empty or @</td>
  		<td>yourappname.<%=vars.app_domain%>.</td>
  		<td>Refer to your DNS provider documentation to determine whether to use an empty or @ value for the Name entry.</td>
  	</tr>
  </table>
  
  If your DNS provider does not support ANAME or ALIAS records, use _subdomain redirection_, a technique also known as _domain forwarding_, to add a custom root domain. If you use this method, note that SSL requests to the root domain result in an error because the SSL certificate generally only matches the subdomain. This error does not display if you are not using SSL or are only using SSL with URLs in subdomain form, meaning `https://www.example.com`.
  
  Configure the redirect from the root domain to the target <code>www</code> subdomain, and configure the <code>www</code> subdomain as a CNAME record reference to the target app URL. The table below illustrates this pattern.
  
  <table border="1" class="nice" >
  	<tr>
  
negative.code: You can remove a route from an app using the `cf unmap-route` command. Unmapping a route leaves the route available in the targeted space for later use.
  
  <pre class="terminal">
  $ cf unmap-route myapp example.org -n myapp
  </pre>
  
  You can remove a route from a space using the `cf delete-route` command:
  
  <pre class="terminal">
  $ cf delete-route example.org -n myapp
  </pre>
  
  Note that for each of the above commands, using the `-n` parameter to specify the host is optional.