There's no place like localhost... please help me get back there...
May 23, 2012 10:12 AM Subscribe
Just installed Apache on a new machine, and now any calls to localhost goes to one of my VirtualServers instead of the docroot. Help!
posted by sodium lights the horizon to computers & internet (3 answers total)
I've read a dozen promising looking posts on various sites, but none of them seem to touch my problem...
I have a dev machine here (win7 / apache 2.2.21) which is supposed to be serving three things - localhost, site1.dev and site2.dev . No matter what I do, any attempt to browse the url http://localhost is serving me site1.dev instead.
Here's what looks like the relevant bits of my httpd.conf (irrelevant bits snipped ([...]).
Options Indexes FollowSymLinks
# onlineoffline tag - don't remove
Deny from all
Allow from 127.0.0.1
Any suggestions as to what I'm getting wrong?