Hello,
So I am thinking of starting a small web host and would like to use a Digital Ocean VPS to run it. The thing I am getting stuck on is how will I setup my DNS servers so if a customer has his own domain he can use it? Do I just make ns1.(mydomain).com and ns2.(mydomain).com, and just point those to my VPS’s IP address??
Thanks
F.Y.I the control panel I will be using is vestaCP.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
There are a few steps in that process.
A
records for the ns1
and ns2
subdomains.Once all three steps are complete, you could have other sites hosted on your VestaCP system and simply have the domains pointed to your name servers and everything should magically work.
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
Hello, I’m also trying to setup my own dns with cpanel but can’t get it running. I did the following:
I added hostnames with the 3 ips same as D.O. ns2 173.245.59.41 ns1 173.245.58.51 ns3 198.41.222.173
I put the new nameserver to the same domain.
I added the nameserver to cpanel.
And still not working… this is the domain with own nameserver: gsmhosting.cloud