We have clients that want white-labelled versions of our product but under their own domain. To achieve this, they want to be able point a subdomain to our Netlify app. In order to do this, I’ll have to add their subdomain as an alias for our app e.g.
myproduct.othercompany.com and then they’ll have to add
myproduct.othercompany.com as a CNAME that points to our Netlify app. We tried this and it works great so far.
We found out, however, that Netlify does not allow domains to be used by more than one account. So for clients that use Netlify for their own product(s), we won’t be able to add a subdomain of theirs as an alias for our app.
Remove the restriction disallowing a domain to be used by more than one account.
Let ownership be decided on a per-subdomain basis. If there are multiple users that add the same subdomain as aliases, Netlify can decide which app to route traffic to by looking up the DNS records for that subdomain and seeing which Netlify app it points to, proving ownership.
I imagine that as Netlify gains more users, this issue will come up more often. Revamping the rules around domain ownership will help alleviate these issues.