We currently have a SaaS application that lives at app.ourcompany.com
. I am trying to understand what it would take to let our clients access our application via a custom subdomain like clients.theirbrand.com
.
I have done some research and there seems to be a few things in common with other companies that provide this.
They have their clients create a
CNAME
record that pointsclients.theirbrand.com
to something likeclientaccess.ourcompany.com
.Or the application has client subdomains (
clientname.ourcompany.com
) in which case they have the client create aCNAME
that pointsclients.theirbrand.com
toclientname.ourcompany.com
I tried taking one of our extra domains and pointing app.extra.com
to app.ourcompany.com
via CNAME
but it just redirects to app.ourcompany.com
.
My question revolves around what we need to do to facilitate this, specifically:
- What needs to be done on our clients end via DNS? (just CNAME?)
- What needs to be done our end via DNS?
- How would we incorporate SSL? (We currently use lets encrypt on
app.ourcompany.com
) We can secure our side but do clients have steps to take as well?
Update: We are using nginx to serve the application.