Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

error.log is empty, and when i connect to this domain, i get time out error.

NameVirtualHost  23.23.23.23
<VirtualHost  23.23.23.23>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
RewriteLog /var/log/rewrite
RewriteLogLevel 9

        <Directory />
                Options FollowSymLinks
  Order allow,deny
  Allow from all
ErrorDocument 404 /hi.html
ErrorDocument 403 /hi.html
ErrorDocument 500 /hi.html

        </Directory>

<Directory "/var/www/">
  AllowOverride AuthConfig FileInfo Options
  # The Options below is an example. Use what you deem is necessary.
  Options MultiViews SymLinksIfOwnerMatch IncludesNoExec
  IndexIgnore *
  Order allow,deny
  allow from all
ErrorDocument 404 /hi.html
ErrorDocument 403 /hi.html
ErrorDocument 500 /hi.html


</Directory>
    ErrorLog /var/log/apache2/error.log
    LogLevel crit
</virtualhost>

I've resetted my server. DNS is working fine. however whenever it times out, there should be some error recorded but nothing!! so i dont know how to fix this problem.

share|improve this question

1 Answer 1

start gathering some stats for the server. right now you are quite blind.

install munin and plot charts of load / memory usage / number of processes / nummbe of apache processes and served pages.

you can also install sysstat to get raw numberic stats. regardless of your distro you should be able to find both in standard repository.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.