When I view http://localhost/
in Google Chrome, it tries to download the homepage as a file, and doesn't display it. I tried http://localhost/
in Firefox 4 and it works fine.
In Chrome though, loading http://127.0.0.1
displays my website [which is PHP btw].
127.0.0.1 is localhost
in my /etc/hosts
file.
How can I make Chrome load my local website thru http://localhost?
http://localhost/
?localhost/
, and I just tried Firefox, and it works. But not in Chrome.. edited question.