There is no canonical redirect to caddyserver.com from www.caddyserver.com but rather an error:
(both IPv4/IPv6)

# curl -v -I https://www.caddyserver.com

*   Trying 2604:a880:2:d0::21b0:6001:443...
* Connected to www.caddyserver.com (2604:a880:2:d0::21b0:6001) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* error:1404B438:SSL routines:ST_CONNECT:tlsv1 alert internal error
* Closing connection 0
curl: (35) error:1404B438:SSL routines:ST_CONNECT:tlsv1 alert internal error

Considering what a piece of cake it would be for caddyserver I assume there is some kind of misconfiguration?

Anyway: A happy new year to everyone!

1 Like

Yeah, this is basically a one-liner in Caddy, but… why? :thinking: Is this subdomain needed for something?

Happy new year to you too :blush:

No, it’s not needed - but why setting DNS records for the sub and allowing for errors?

(“This website cannot provide a secure connection www.caddyserver.com has sent an invalid response. ERR_SSL_PROTOCOL_ERROR”).

Good point; I don’t remember setting that DNS record, but maybe I just did a long time ago. I don’t actually control the DNS records anymore, and since we don’t use that subdomain I might put in a request from the owners to have it removed. Thanks for pointing this out!

This topic was automatically closed after 90 days. New replies are no longer allowed.