Nameservers for an SaaS project

I have a VPS with Hestia CP with several domains and projects…

One such project is a SaaS in which “stores” can put a custom top-level domain.

At the application level everything works. If said domain points to the project and there is a store with it configured, everything is fine…

But to achieve it I had to create a new web in Hestia and change the root to the main project…

Is there a way for my users to put nameservers in their domain registrars and be pointed directly to my saas project?

You can configure hestiacp to autocreate the DNS entries you like upon webspace provisioning with a shell script.

Ok, it gives me some context… Let’s study how to do it