Troubleshooting Apache

If you encounter difficulties with Apache or are unable to get it to start, the best place to look for clues about what is wrong is in your server-wide error log. This log is located in the /www/logs/ directory and is simply called error_log. Using the more or tail commands to examine the text in this log file will usually tell you what is wrong so that you can get the problem corrected. You can also find information in the Web-site specific log files that reside in the logs subdirectory for a specific virtual host.

The apachectl configtest command can also be used to help find problems that are due to errors in Apache’s configuration files.