Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Apache virtual host setup tips' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Apache virtual host setup tips
Authored by: bluehz on Mar 13, '03 12:49:16AM

I had a lot of trouble with localhost also - because I run my own dns server for our internal LAN. Whenever I issued a call to a localhost address the DNS was being searched first and it was abviously not finding anything. There is a way to do this in NetInfo Manager by adjusting the order that lookupd searches. Although I have never had much luck with that either. I finally found a simple solution last week that so far has been working.

Open System Preferences > Network > TCP/IP and enter "localhost" as the top name in the "Search Domains" field. You may have other names there already - but put localhost at the top of the list. This seems to cause a search of your machine before going elsewhere.

Hope that helps.

[ Reply to This | # ]