title: How does cloud foundry's domain and DNS domain connected?
body: <p>When I read cloud foundry document about Domains, it mentions that the term of "Domain" differs from its common use and is specific to Cloud Foundry.</p>
  
  <p>THen when I am using PWS, <code>cf domains</code> shows:</p>
  
  <pre><code>name            status   type
  cfapps.io       shared
  cf-tcpapps.io   shared   tcp
  </code></pre>
  
  <p>I assume the domains here are Cloud foundry domains. I can access my app by below URL:</p>
  
  <pre><code>https://browser-kissable-dizziness.cfapps.io
  </code></pre>
  
  <p>here "cfapps.io" I guess it's a DNS domain name because it's on the public internet.</p>
  
  <p>how do the cloud foundry domain and the DNS domain name connect? or is there a connection between them? or they are just two things which have the same name?</p>
  
  <p>if I want to have multiple share HTTP cloud foundry domains? I can use <code>cf create-shared-domain shared-domain.example.com</code> to create one, but how can I make it usable by public internet?</p>
  
  <p>Guess I want to understand the basic knowledge about how to make a cloud foundry instance accessible from the internet. </p>