Hosting two sites at one URL - status codes - monorepo

This article also talks about the general pattern of how to host two codebases at the same hostname: