title: TYPO3 No TypoScript template found - custom page
body: <p>We're running TYPO3 9.5 with correctly set up Site Configuration. The main domain has multiple subdomains which have their own Site Configuration.</p>
  <pre><code>domain.com
  sub1.domain.com
  sub2.domain.com
  sub3.domain.com
  </code></pre>
  <p>All these urls point to a different Site Configuration, which works fine. But when a user types <code>sup1.domain.com</code> instead of <code>sub1.domain.com</code>, &quot;No TypoScript template found!&quot; is shown. Within the Site Configuration &quot;Error Handling&quot;, &quot;Show content from page&quot; is set up for error 503.</p>
  <p>The configured error page is not showing, but the default &quot;No TypoScript template found!&quot;. <strong>How could we show an actual TYPO3 page when a subdomain is entered wrong?</strong></p>
  <p>The 404 page works fine, but only with segments after the actual domain, eg. sub1.domain.com/does-not-exist shows the 404 page, as configured.</p>