httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonesy <>
Subject [users@httpd] Re: hitting apache across home network with hosts file
Date Fri, 29 Jan 2010 19:31:06 GMT
On Thu, 28 Jan 2010 14:29:20 -0600, Matthew Smith wrote:
> --0016e6d64956eaf544047e3f60b6
> Content-Type: text/plain; charset=ISO-8859-1
> I understand that.  I am only trying to access the server from the windows 7
> machine.
> To clarify:
> server,, running apache
> Windows 7 machine, hosts file modified to:
> mysite_com
> Windows 7 machine unable to load http://mysite_com/ in browser.

Something un-obvious is working against you....

We are webmasters for a number of web sites here.
They are variously , or .net , or .org

In the hosts file on the windows and linux boxen here we have:            www.example.tst example.tst            www.example2.tst example2.tst            www.example3.tst example3.tst            www.example4.tst example4.tst

 for all the various domains -- pointing to a local box running LAMP 
with all the domains replicated thereon.  IJFW here.

Perhaps your browser(s) are attempting to be 'helpful' and are adding 
the ".com" suffix to the truncated domain name in the location bar? (By 
default, most do that.)  That would result in a dns lookup failure.  
Perhaps the error reporting back to you in the browser is not specific 
enough -- telling you it could not find "mysite_com" -- when, indeed, it 
could not find "".

  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ | Jonesy |  OS/2
    * Killfiling google &

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message