My web site works perfect, but sometimes apache returns default html page:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
No configs and other settings at this time have not changed. I looked through the logs and noticed that at this moment there was a lot of simultaneous requests per second.
I have a question. Can Apache under heavy load to display the above page, not the site's content?
Or what could be the problem?
Best Answer
Apache HTTP Server would not serve different content based on load). It seems like some misconfiguration on your
VirtualHost
, try VirtualHost Examples - Apache HTTP Server Version 2.2, pay extra attention toServerName
and make sure that set correctly.