title: Firebase Dynamic Links subdomain config
body: <p>Let's say I have a domain <code>example.com</code>. And I created a second website through hosting and cli as <code>sub.example.com</code>.</p>
  
  <pre><code>{
    "hosting": [
      {
        "target": "app",
        "public": "public",
        "rewrites": [
          {
            "source": "**",
            "destination": "/index.html"
          }
        ]
      },
      {
        "target": "promos",
        "public": "public",
        "appAssociation": "AUTO",
        "rewrites": [
          {
            "source": "**",
            "dynamicLinks": true
          }
        ]
      }
    ]
  }
  </code></pre>
  
  <p>Now when I go to create Dynamic Link for <code>sub.example.com</code> without any path prefix, it gives me a red flag saying:</p>
  
  <pre><code>It looks like you already have content served on this path. Specify a different path prefix to avoid conflicts with existing content.
  </code></pre>
  
  <ol>
  <li>What am I doing wrong?</li>
  <li>Also, if this subdomain is only for links, I still have to put <code>public</code> field? I don't want to show anything on it, just links...</li>
  </ol>