New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How do I set up DNS?
Hello, I have a server running VestaCP, a new open source very good control panel.
How can people now point their domain to it? I know they can use a simple A record, but some hosting providers have their own nameservers?
E.g. ns1.host.tld and ns2.host.tld and everything then just works
So how do I do this?
Comments
Hi Iars,
Check this link
http://vestacp.com/docs/#how-to-setup-vanity-nameservers
Thanks very much! Followed those steps, hopefully it will work.
Sorry about any typos i did this very fast, don't have a lot of time today.
First thing you need to do is install dns server, if using vestacp i assume dns (bind9) is up and running, you need a 2nd dns as most domain registrars need two ip's to create two name servers, a few will let you get away with only one ip.
You need to do two thing at your domain registrar
Goto to your registrar and create two or more name servers,
all you are doing is telling the registrar the names and ip of your dns like
ns1.yourdomain.com @ 111.111.111.111 and ns2.yourdomain.com @ 222.222.222.222
Goto to your registrar and go to each domain and set your name servers as dns
Go to your vesta control panel under Packages and replace the default name servers with yours
Go to your vesta control panel under DNS press "Add DNS Domain" enter domain name and ip address press add
Go to your vesta control panel under DNS press "edit" for each domain set SOA to your ns1.yourdomain.com (this may be already set ) press save,
Note: that TTL is set at 14400 if at a later date you wish to use failover ttl need to be a lower number like 300
Go to your vesta control panel under DNS press "+ add record",
add all records needed for each zone
When setting up your zone records don't forget that your name servers needs an A Record, some forget to do this they think it's set at the registrar so an A Record is not needed
ns1.yourdomain.com. NS ns1.yourdomain.com.
ns2.yourdomain.com. NS ns2.yourdomain.com.
ns1.yourdomain.com. A 111.111.111.111
ns2.yourdomain.com. A 222.222.222.222
my help stops here, i am a VestaCP user, But i don't use bind9,
i use Maradns, lot less ram and very easy to setup, i use BTSYnc as cluster system and i have created a failover system for maradns.
they set their domains to your dns
they do #2 then you are they do #4, 5 and 6
Note: i don't like that the user can change the TTL