CGI.HTTP_HOST and CGI.SERVER_NAME return the IP, not the hostname

recently i make a fresh installation of a Debian 10.6 (apache 2.4) with Lucee 5.3.7.47.
i noticed that on , both CGI.HTTP_HOST and CGI.SERVER_NAME return the server’s local IP, not the virtual or host name.

when i call the request directly on tomcat, (IP.8888) the cgi variables work fine.
when i call it from apache 2.4, i get the IP.
i tried lot of settings and parameter changes without any success.

Any clue?

thank you