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: logo on Mar 12, '03 07:28:22AM

Now: did anyone get this working? robg?

I'm facing the same problem now (6months after you all!)

my setup:

127.0.0.1 for the plain webserver in OS X

tomcat.ibook.local which resolves also to 127.0.0.1 should go directly to /Library/Tomcat/webapps/examples

Any clues?

Thanks in advance!



[ Reply to This | # ]
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 | # ]