External domains served by Worker
Hi!
I've built a SaaS with Workers as the backend.
Right now every user on my site gets a custom page like saas.com/username.
I'd like to add a feature where users can add their own domains to the platform and have their site served on that domain.
Let's say user owns mydomain.com. Is there a way to set DNS records on mydomain.com so that the domain points to the same Worker that is serving saas.com/username ?
I've built a SaaS with Workers as the backend.
Right now every user on my site gets a custom page like saas.com/username.
I'd like to add a feature where users can add their own domains to the platform and have their site served on that domain.
Let's say user owns mydomain.com. Is there a way to set DNS records on mydomain.com so that the domain points to the same Worker that is serving saas.com/username ?