t-c-k
PROOP
a year ago
I have a multi tenant nodejs service with a wildcard domain set up and using cloudflare (eg *.site.mydomain.com). Users access their area by using their unique subdomain (eg tenant1.site.mydomain.com).
I would like the ability for tenants to use their own domain. (Eg they could add a CNAME www.tenant1.com -> tenants1.site.mydomain.com) (or a non-wildcard domain like sites.mydomain.com).
Is this possible or do I have to add a custom domain in railway for each custom tenant domain? I
2 Replies
brody
EMPLOYEE
a year ago
you can do this, but you have to manage the domain in cloudflare and use snippits to overwrite the host header since we only do host based routing