My hostname (srv1.domain.com) redirects to a users website.
Current situation:
https://srv1.domain.com shows "Apache is functioning normally".
http://srv1.domain.com shows the website of the first user in DirectAdmin.
I wish that the http:// version also get a blank page with the text "Apache is functioning normally".
Notable settings in directadmin.conf:
When I try to create a TLS certificate for the hostname I get the following error message:
Apache is listening on port 8080
Varnish is listening on port 80
Certificate requests for user domains just works fine.
What can be cause this fault?
Current situation:
https://srv1.domain.com shows "Apache is functioning normally".
http://srv1.domain.com shows the website of the first user in DirectAdmin.
I wish that the http:// version also get a blank page with the text "Apache is functioning normally".
Notable settings in directadmin.conf:
Code:
SSL=1
enable_ssl_sni=1
letsencrypt=2
servername=srv1.domain.com
ssl_redirect_host=srv1.domain.com
When I try to create a TLS certificate for the hostname I get the following error message:
Code:
[root@srv1 custombuild]# cd /usr/local/directadmin/scripts
[root@srv1 scripts]# ./letsencrypt.sh request srv1.domain.com 4096
Setting up certificate for a hostname: srv1.domain.com
Getting challenge for srv1.domain.com from acme-server...
Waiting for domain verification...
Challenge is invalid. Details: DNS problem: SERVFAIL looking up A for srv1.domain.com. Exiting...
Apache is listening on port 8080
Varnish is listening on port 80
Certificate requests for user domains just works fine.
What can be cause this fault?