- Plesk for Linux
Apache could not be started, the following error can be found in
CONFIG_TEXT: [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "example.com"
Nginx is disabled
Apache misconfiguration with Apache
Perform the following actions:
Log in to the Plesk server via SSH.
Open the file
/etc/hostsin any editor and edit it according to the following template:
CONFIG_TEXT: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# Auto-generated hostname. Please do not remove this comment.
Where 203.0.113.2 is the IP address of a server and example.com is the server host name.
Start the Apache service:
# service httpd start