Do we still need that file? The file content is
hostname here is a string, not a variable, so it doesn't take any value. Then it creates extra error information in error_log like
Any time OLS reloads or restarts, it creates those lines in error_log. From my understanding, that file doesn't do anything with that content. Or should we change hostname to |HOSTNAME| token, so it can take the value of the server name?
virtualHost hostname {...}
hostname here is a string, not a variable, so it doesn't take any value. Then it creates extra error information in error_log like
2025-12-08 02:51:03.169528 [ERROR] [3443871] Hostname [*] on listener [my-real-ip:80] is mapped to virtual host [my-real-ip], can't map to virtual host [hostname]!
2025-12-08 02:51:03.169591 [ERROR] [3443871] Hostname [*] on listener [my-real-ip:443] is mapped to virtual host [my-real-ip], can't map to virtual host [hostname]!
Any time OLS reloads or restarts, it creates those lines in error_log. From my understanding, that file doesn't do anything with that content. Or should we change hostname to |HOSTNAME| token, so it can take the value of the server name?