I have encountered a situation that probably doesn’t come up a bunch and I am trying to work with Caddy to resolve the 404.
I have a static ip that I purchased and it has been around the block a lot. That being said, there are dns servers with dns names that are tied to this ip address. Since I only have one domain behind this address whenever someone tried to go to these domain names behind this static address it gives the 'no such site at :80 404" which is working as intended. What I want to do is forward any of these unknow dns tld names to a generic 404 page. I can do this within my registerd domain name and it works fine, but how can I have a catch all or drop through for any of these dns names that I don’t know?
(I would rather send them to a clean 404 page so they can be informed that this site is not hosted on this server)
Current Caddy File:
Thank you for any help!