Its clear from the question what I want to know but i do want to explain the entire situation first.
My Goal: I want to set up multi domain hosting panel on my server. Mostly it will serve my own existing clients.
As of now i've many shared hosting plans for clients (Website hosting). I found that i can save lot of money by getting a single VPS instead of getting & paying for separate shared hosting plans. So satisfy same i thought of purchasing and setting up my own hosting solution.
1) I've purchased a Droplet from Digital ocean and wanted to setup centOS + CentOS Web panel for the same.
2) I've purchased domain from my domain registrar. say for ex. mydomain.com.
Now my confusion is regarding NS records and DNS configuration. I wanted to know what should be my NS record, to be able to manage cpanel and multiple domain serving from same cpanel.
I want is my CWP - cpanel domain to be cpanel.mydomain.com. I also want to have a hosting home page or small website setup on main domain mydomain.com.
So the questions are.
1) What should be the NS record of my main domain (mydomain.com) at domain registrars domain control panel. whether it should point to ns1.digitalocean.com or it should be custom dns record that should be created in CWP (for ex ns1.mydomain.com).?
2) I want my cpanel hostname to be cpanel.mydomain.com, so where should i add CNAME record, in Digitalocean DNS record or in CWP DNS record.?
3) What's the relation of droplet name in digital ocean, is it related to hostname of server?
4) What all A, CNAME and MX record will be needed at digitalocean DNS configuration and in CWP DNS configuration.
5) Do I need to add mydomain.com website in CWP, if yes then what should be its DNS configuration. As this will be needed if i want to setup a hosting landing pages for marketing purpose.
This is getting too much confusing now as if i add domain in CWP, there also need DNS configuration, then what should be its NS record? do i need it there also?
i'll add more to this question latter. Anyone with already having experience of DigitalOcean+CWP can better explain this.