Please read my posts below!
Implementing Custom Domains for SaaS Software
A valuable feature of modern SaaS software is the ability for a customer to use their own branding. They usually have two options, Managed Subdomains and Custom Domains. Here is an overview of those options, and how to implement them from the SaaS side.