open httpd.conf file under apache/conf directory and look for linestarting with "ServerName". For running apache web server for testingon local machine you should use localhost ( or 127.0.0.1). So thatline should look likeServername localhost