title: Mapping subdomain to a service in Google App Engine project
body: <p>I have a Google App Engine project with following yaml file</p>
  
  <pre><code>handlers:
  - url: /web/.*
    script: web_server.app
  
  - url: /api/.*
    script: rest_server.app
  </code></pre>
  
  <p>How do I make sure subdomain, of a domain I own, be served by rest_server.app script.</p>
  
  <p>Example: If I own example.com</p>
  
  <p>I want <code>example.com</code> to be served by <code>web_server.app</code>, and <code>api.example.com</code> to be served by <code>rest_server.app</code></p>
  
  <p>Is it possible to do that using Google App Engine.</p>
  
  <p>Example:</p>
  
  <pre><code>handlers:
  - url: example.com/.*
    script: web_server.app
  - url: api.example.com/.*
    script: rest_server.app
  </code></pre>