I wish it was that simple. When I type in "http://localhost/index.php" and hit enter, the browser changes to http://www.localhost.com/index.php automatically. Could it be a setting in the browser? Same thing if I use IE instead of Firefox. The services are all running on XAMPP.
yes, http://127.0.0.1 works. Thank you. Interesting, I have also installed the XAMPP on my other computer and all of that works fine. For some reason I mush have something configured wrong on this machine. I copied over the XAMPP directory to the non-working machine and still the same results. It likes to stick in 'www' and '.com' if I put in 'localhost'. I can type in http://127.0.0.1/xampp/phpinfo.php and that page works well too.