Can't get DNS to Work and No SSL for Hostname

Anurag M

Verified User
Joined
Apr 10, 2020
Messages
14
I have a dedicated server with centos 7 installed in it.
It only has 1 IP - 142.4.215.26.
Same IP has been set for: the hostname (alpha.webnita.com)
Nameserver 1 (ns1.webnita.com) and
Nameserver 2 (ns2.webnita.com)

I having 2 issues at the moment.

1) DNS record issue for every domain I add. Example: https://intodns.com/webnita.com

2) Can't install SSL for hostname (alpha.webnita.com).
Whenever I am trying to run this:
/usr/local/directadmin/scripts/letsencrypt.sh request_single alpha.webnita.com 4096
I am am getting this output:
Setting up certificate for a hostname: alpha.webnita.com CAA record prevents issuing the certificate: SERVFAIL
 

Attachments

  • Capture.JPG
    Capture.JPG
    92.8 KB · Views: 10
I don't think you have your domain configured properly at your registrar. You do correctly list ns1 and ns2.webnita.com as your DNS servers, but you failed to tell your registrar the IP address(s) of your DNS servers. That is the glue that will allow anyone on the internet that asks for an *.webnita.com address will know who to ask. Once you get that setup then your hostnames and letsencrypt will work.
 
Check your /etc/virtual if alpha.webnita.com exists there.
If yes, also check if the hostname is also present in the /etc/domains file.

Because to me it seems the hostname does not contain an A record at the moment either.
 
Back
Top