Not specifically a problem but a question to ask. Is it possible to redirect all unknown domain that the server doesn’t have configured in the caddyfile to a webpage i.e unknowndomain.html ?
hmm, I certainly wouldn’t want to break the automatic http to https redirect. Just had a read up on that page but would rather not change any config for now as there are live sites on there.
Yes, I have tested that out and the manual redirects work fine. I am using that on www sub domains.
I have noticed people trying to type www.domain.com (example) (was showing in the log file of sites that people where manually typing in - which wasn’t configured so I have now fixed that as a https redirect.