Par défaut, toute tentative d’accès via l’adresse IP renvoie une redirection 301 vers le bon domaine :
$ curl 159.203.68.6 -I
HTTP/1.1 301 Moved Permanently
Server: nginx/1.16.1
Date: Mon, 29 Jun 2020 20:24:41 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
Location: https://falcoland.falco.dev/
En
Votre proposition consiste-t-elle à passer d’une redirection 301 à une erreur 404 ?