Why does localhost and 127.0.0.1 resolve to different locations on Mac OSC 10.8?
Posted
by
Greg Wiley
on Super User
See other posts from Super User
or by Greg Wiley
Published on 2012-11-30T03:27:32Z
Indexed on
2012/11/30
11:10 UTC
Read the original article
Hit count: 292
I set up a local server without MAMP, for various reasons. I used this tutorial: http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion
I'm just wondering why the local IP and localhost resolve to two different locations. Right now the IP resolves to a Virtual Host I set up and the localhost resolves to the DocumentRoot
established by httpd.conf
© Super User or respective owner