You can make a rewrite to redirect all defaults to your main site (either https or non-https).
ありがとう えりな On Fri, Jan 14, 2022 at 7:59 AM <[email protected]> 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. > > Is there some way to do something like: > > server "default" { > listen on * port 80 > listen on * port 443 > block drop > } > > And then only serve specific domains? >

