Just wanted to check I'm setting my DNS up right.
I usually have domain names with a registra that provides name servers, so I use the registra's control panel to manage the A / Cname / MX etc records.
Currently though, I have a site on a VPS, from a company that doesnt provide nameservers, and a domain name with a registra that doesnt provide name servers. Great...
So I think in order to set this up I need to:
At the domain name registra, set the nameservers for my websites domain name (my website will be www.mydomain.com) to
ns1.mydomain.com
ns2.mydomain.com
set the child name servers to
ns1.mydomain.com - IP.of.my.VPS.server
ns2.mydomain.com - IP.of.my.VPS.server
Then tell my vps that it is a name server through WHM (somehow?) and set up A records pointing ns1 and ns2 to the main mydomain.com record.
Is this right?
And any tips on specifically how do I go about the last section of getting the right settings in to WHM so that it acts as a name server as well as serving a website on the same domain name would be great.
Thanks
I usually have domain names with a registra that provides name servers, so I use the registra's control panel to manage the A / Cname / MX etc records.
Currently though, I have a site on a VPS, from a company that doesnt provide nameservers, and a domain name with a registra that doesnt provide name servers. Great...
So I think in order to set this up I need to:
At the domain name registra, set the nameservers for my websites domain name (my website will be www.mydomain.com) to
ns1.mydomain.com
ns2.mydomain.com
set the child name servers to
ns1.mydomain.com - IP.of.my.VPS.server
ns2.mydomain.com - IP.of.my.VPS.server
Then tell my vps that it is a name server through WHM (somehow?) and set up A records pointing ns1 and ns2 to the main mydomain.com record.
Is this right?
And any tips on specifically how do I go about the last section of getting the right settings in to WHM so that it acts as a name server as well as serving a website on the same domain name would be great.
Thanks
Last edited: