yeah how can i fix this ?
Since I see:
Server: Apache/2.4.54 (Debian)
I would think we should start troubleshooting that with:
sudo apachectl -t -D DUMP_VHOSTS
well i have this
sudo apachectl -t -D DUMP_VHOSTS
VirtualHost configuration:
*:80 qkqy.c.dedikuoti.lt (/etc/apache2/sites-enabled/000-default.conf:1)
*:443 is a NameVirtualHost
default server qkqy.c.dedikuoti.lt (/etc/apache2/sites-enabled/default-ssl.conf:2)
port 443 namevhost qkqy.c.dedikuoti.lt (/etc/apache2/sites-enabled/default-ssl.conf:2)
port 443 namevhost lerg.lt (/etc/apache2/sites-enabled/lerg.lt-le-ssl.conf:2)
alias www.lerg.lt
port 443 namevhost lerg.lt (/etc/apache2/sites-enabled/lerg.lt.conf:1)
alias www.lerg.lt
port 443 namevhost vvp.lerg.lt (/etc/apache2/sites-enabled/lergvvp.lt.conf
``
Also, you might want to include the IPv6 address in DNS:
curl -Ii [2a02:7b40:50d1:ed2a::1]
HTTP/1.1 400 Bad Request
Date: Tue, 14 Mar 2023 23:45:57 GMT
Server: Apache/2.4.54 (Debian)
Content-Length: 447
Connection: close
Content-Type: text/html; charset=iso-8859-1
How can i include ?
Well, that's a hot mess!
A. There is only one HTTP [port 80] listener.
B. Two files are serving the same name:port
combination [overlap]
C. The vvp
name is using HTTPS (without a valid cert for that name)?
Where do you set your DNS records?
i have a site where can i add DNS records
What i need to set as AAA record?
Lookie here:
Name: qkqy.c.dedikuoti.lt
Addresses: 2a02:7b40:50d1:ed2a::1
80.209.237.42
If it was included, why would it then need to be added?!?!?! - LOL
It is NOT required, but since it works, you should use it.
It's four As: "AAAA
"
Ah, OK; I missed it!
How can i fix them ?
aaaah....
One at a time???
Yeah where i should start about fixing those issues?
so if i understanding it right i can remove one of those?
port 443 namevhost lerg.lt (/etc/apache2/sites-enabled/lerg.lt-le-ssl.conf:2)
alias www.lerg.lt
?
Yeah cause not sure how can i validate the cert
do i need to have multiple ones?
No; But to simplify automation, you should handle all the HTTP ACME challenge requests there.
Getting back to this it seems that www.lerg.lt and lerg.lt are fine but vvp.lerg.lt has Certificate name mismatch
(Also had to create new acc cause that one reached Posting limit)