Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- There is a Default Site is configured in Tools & Settings > IP Addresses, it add a misconfiguration in Nginx, adding ServerAlias "default-210_0_113_2" in the configuration and changing $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME'].
- When accessing an error page using the IP address of configured website, the server returns "default-10_69_43_125" as hostname.
-
Ngnix configuration adds the following value to the domain, changing $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']:
PLESK_ERROR: ServerAlias "default-210_0_113_2"
Cause
The issue is caused by a Plesk bug with ID #PPPM-15108 that will be fixed in next releases. You can follow the resolution in Plesk Change Logs.
3rd-line: PPS-18234
Resolution
Until the bug being fixed, use the following workaround:
# plesk bin apache --listen-on-localhost false
Comments
I use Plesk Obsidian 18.0.73 Update #2Web Host Edition but this issue still persist. I have executed plesk bin apache --listen-on-localhost false to solve it! So, the issue is not fixed in 18.0.73!!!
This bug is still to be fixed. You can check the latest bugs fixes and corrections in https://docs.plesk.com/release-notes/obsidian/change-log/
Please sign in to leave a comment.