dejanmarkovic
11/20/2013 - 8:35 PM

Apache slow on (local machine) localhost

Apache slow on (local machine) localhost

For me, setting the ServerName property in httpd.conf fixed the delays (they were up to 10 seconds at worst):

# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
ServerName 127.0.0.1:80

Source: http://serverfault.com/questions/66347/the-localhost-response-very-slow-why