-3

I am working on a XAMPP local server.

My localhost turns localhost.com. When I run my localhost in browser for ex (localhost/projects/test) the url turns www.localhost.com/projects/test.

Kathir
  • 1,212
  • 15
  • 25

3 Answers3

1

If you're working on a computer running the Mac Mountain Lion OS (10.8), Apple made changes in this version of the OS that have caused problems for some, and you'll need to change some of your computer's settings to get localhost working properly. This page provides a good walkthrough on how to make localhost work again.

0

Try http://localhost/... instead of just plain localhost/....

Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
  • I have tried both these steps.Its not turning for all the pages. But for certain pages regularly. – Kathir Sep 24 '12 at 13:27
0

Try http://localhost/ sometimes webbrowser tries to be smarter then a user.

Lukasz Kujawa
  • 3,026
  • 1
  • 28
  • 43