Allow 404 handling for unconfigured domains/sites.
Extension configuration allows to define a PID or URL as target which is fetched and displayed as 404.
Either install EXT:redirectmissingsite
via TER (Extension Manager) or via composer jpmschuler/redirectmissingsite