It’s a common problem with SaaS apps that they need to offer custom domains. Managing SSL certificates and proper routing for custom domains is very complicated.
Success story sharing