- Server operating system version
- AlmaLinux 9.6
- Plesk version and microupdate number
- 18.0.72 Update #1
We discovered a weird setting where php's $_SERVER['HTTP_HOST'] is always set to the domain alias's target. Previously, expected and on a copy of the same subscription, its supposed to display the current url.
This is necessary because of Prestashop Multistore.
main url: url.nl
Alias: URL.com (not 301 redirected)
On the index (/) opening .com its displaying the .nl as HTTP_HOST.

However, creating a seperate php file to dump the exact same code, its correct:

I believe it has something to do with the proxy of nginx.

The copy we have created a month ago does not contain the *_ip_default.conf file.
I have:
$host does seem to be the correct value:


Any further info can be given.
This is necessary because of Prestashop Multistore.
main url: url.nl
Alias: URL.com (not 301 redirected)
On the index (/) opening .com its displaying the .nl as HTTP_HOST.

However, creating a seperate php file to dump the exact same code, its correct:

I believe it has something to do with the proxy of nginx.

The copy we have created a month ago does not contain the *_ip_default.conf file.
I have:
set in 'Additional nginx directives'.fastcgi_param HTTP_HOST $host;
$host does seem to be the correct value:


Any further info can be given.