On Thu, Jan 13, 2022 at 11:46:18PM +0000, i...@protonmail.com wrote: > I would like to avoid httpd giving anything if a user types in the IP > address of the server. > > At first I just made an empty page, which is fine for port 80, but if > the user then types https://xxx.xxx.xxx.xxx, then the certificate for a > domain shows, which doesn't fit the IP address.
Why not create a dummy self-signed certificate that only has the IP address and no domain names?