You are not logged in.
So, I'm a web developer, so I'm using a lot of domains in the form of xyz.localhost for different projects. Everything worked ok, but with some recent update something broke - when I restart the Apache server, I cannot access anything under my domains, and
systemctl status httpd
gives me a lot of:
[core:error] [pid 11040] (EAI 2)Name or service not known: AH00547: Could not resolve host name adplacer_demo.localhost -- ignoring!
for every domain I'm using. This is pretty strange because when I restart my system, everything works again, only after "systemctl restart httpd" apache2 is losing its ability of resolving these host names. Adding them to /etc/hosts also doesn't help. Anyone has any idea what is going on here and how to fix it?
Last edited by luken (2016-12-31 14:16:49)
Offline