I checked my httpd.conf file and nothing found anything, let me know other areas whr i need to look.
Although my other links are working fine like -- >
Judging by your comments, seems like you might be looking at the wrong place. Look at this question.
Perhaps the application installed in the root directory (the one you expect to see when you type http://localhost/index.php) is configured incorrectly. Locate the application whose index.php file is in the root, then go through its configuration files and see if you can find www.localhost.com written somewhere. Some applications store their settings in database so that is another place to look at.