First, suppose you're using some kind of vps!
When you created vps, you had to enter a domain name that will be hosted! your example site.com
With your Domain Name provider, enter for your domain, for example, site.com nameservers from your vps provider.
then with your vps provider you enter, for example, srv1.site.com to create the server name because you need it when installing cwp test your server neme in terminal with
hostname
and you shuld get some result
After that, you create ns1 and ns2.site.com subdomains with your vps provider. all of these sub domains and srv1 and ns1 and ns2 are set to ip address from the server.
After that, the cwp configures your
hostname to srv1.site.com
reboot
When registering with cwp log in via srv1.site.com:2030
user root is your password
go to dns settings and change ns1 and ns2 for your record and put ip address form server,
Save the configuration and rebuild all users it is mandatory that Bind can work properly. After that, you have your dns