Domain bind to VPS

1 post / 0 new
#1 Wed, 06/14/2017 - 02:43
sasuandrei

Domain bind to VPS

Hello,

I am a newbie in Virtualmin and VPS. I've managed to install and config mysql, postgres, tomcat etc. and now I'm stuck in domain binding to VPS. I've setup in registrar 2 nameservers to my VPS ip ns1.mysite.ro and ns2.mysite.ro , I can't configure Virtualmin to get the domain. In Webmin - Bind, I don't have any error, but in Virtualmin I have NS record ns1.mysite.ro cannot be resolved to an IP address

$ttl 38400
@ IN SOA ns1.mysite.ro. root.ns1.mysite.ro. (
1497415171
10800
3600
604800
38400 )
mysite.ro. IN A 5.154.230.100
www.mysite.ro. IN A 5.154.230.100
ftp.mysite.ro. IN A 5.154.230.100
m.mysite.ro. IN A 5.154.230.100
localhost.mysite.ro. IN A 127.0.0.1
mail.mysite.ro. IN MX 5 mysite.ro.
mysite.ro. IN TXT "v=spf1 a mx a:mysite.ro ip4:5.154.230.100 ?all"
mysite.ro. IN NS ns1.mysite.ro
mysite.ro. IN NS ns2.mysite.ro
ns1.mysite.ro   IN      A       5.154.230.100
ns2.mysite.ro   IN      A       5.154.230.100

Help, Thank you