Hello, i’ve just install virtualmin on my dedicated server, i want to host a webpage, but i have a problem, my domain is not solving, i have configured the dns in my provider to:
make sure to add glue records in your registrar (ns1.youdomain.tld and ns2.yourdomain.tld) along with your virtual server ip, then proceed to BIND DNS Server and add a master zone yourdomain.tld along with your main dns (ns1.yourdomain.tld) then add some NS and A records such as (ns2.yourdomain.tld) ans your ip, it your config file should look something like this:
domain.tld. IN NS ns1.domain.tld.
ns1.domain.tld. IN A 254.254.254.254 <--------YOUR IP!!!
ns2.domain.tld. IN A 254.254.254.254
domain.tld. IN NS ns2.domain.tld.
domain.tld. IN A 254.254.254.254
www.domain.tld. IN A 254.254.254.254
apply bind config, flush OS dns cache (or try different browser) wait a couple hours and bind should be ready to go, add a new virtual server (make sure to change your default NS servers into BIND server template) and should work flawlessly
And if I try to send a mail from the server:
Failed to send mail : SMTP command . failed : 421 4.3.0 collect: Cannot write ./dfvBSF4TUq024551 (bfcommit, uid=0, gid=123): No such file or directory