|
#1
| |||
| |||
| My browser can not resolve http://localhost/, but http://127.0.0.1 works fine. This is the Virual Host section that I'm using in /etc/httpd/httpd.conf ### Section 3: Virtual Hosts NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot /Library/WebServer/Documents ServerName localhost </VirtualHost> <VirtualHost 127.0.0.1> DocumentRoot /Users/mattthiessen/Sites/clients/bpwww ServerName bpwww </VirtualHost> The settings in NetInfo Manager are /machines/localhost/ myname = 127.0.0.1 name = localhost However, after turning on box with Fedora Core 4 that is on the same network http://localhost brings up the index.php page on that machine. Is there anything else I need to set to the http://localhost to work? Last edited by mattt; December 31st, 2005 at 03:25 PM. |
|
#2
| |||
| |||
| It was a DNS issue. My problem was in the lookup order. Found using: lookupd -configuration My problem was fixed after following these instructions: http://www.geektimes.com/macintosh/o...3/and/dns.html |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sendmail on localhost w/ php | .jeremy_a> | Unix & X11 | 1 | November 8th, 2003 09:27 AM |
| Virtual PC and Localhost | Dris | Mac OS X System & Mac Software | 2 | October 18th, 2003 11:26 AM |
| Apache won't respond to "localhost" or "127.0.0.1" | mattimpact | Unix & X11 | 9 | May 24th, 2002 09:19 AM |
| localhost? | mikerwpi | Mac OS X System & Mac Software | 2 | March 27th, 2001 07:29 PM |
| I can't connect to anything but localhost.... | kleinboy | Mac OS X System & Mac Software | 0 | January 10th, 2001 04:22 PM |