404 handling for unknown containers, root domain

I’m using docker-compose to deploy my containers mostly using abc.example.com where abc represents the container.

This works well for the most part. However, if I browse to example.com or unknown.example.com I’m getting a generic 404 white screen. How can I “fix” this to show something a bit more graceful?