2 posts / 0 new
Last post
#1 Mon, 02/09/2015 - 21:16
siteXmedia

nameservers

Can somebody advise on the right way to do this

I currently have a vps using two nameservers

ns1.my-domain.tld - vps.ip.add ns2.my-domain.tld - vps.ip.add

and have added two more child nameservers at the domain register with the new ip address for my dedicated server

ns111.my-domain.tld - dedi.ip.add ns112.my-domain.tld - dedi.ip.add

I am using CentOS 7 and have installed Virtualmin (several times) and am just not getting it right, i have been reading as much as I can but still do not seem to get it right

I don't wish to host my-domain.tld on the virtualmin centos server at the moment,

Tue, 02/10/2015 - 07:34
metrics

I suppose there are different way you can set up your DNS/nameservers. this is how I do it.

1) if using a shared IP for many Virtualmin accounts aka websites You might want to run BIND to handle the different domains then from Virtualmin:
- edit server / enabled features -> DNS domain enabled? and save.
Go to your domain management panel and add 2 child namerservers ns1.yourwebiste.com -> your VPS IP same for ns2.

2) if you have dedicated IPs for every Website you can assign a dedicated IP to each website and don't need to run BIND at all.
You can either set up 2 child namerservers ns1.yourwebiste.com -> your website IP same for ns2. or use your VPS provider DNS which will then point to the dedicated IP for the specific website.

I hope this helps

Topic locked