httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Cox" <ra...@racox.net>
Subject RE: [users@httpd] web server on LAN
Date Sun, 06 Mar 2005 23:05:14 GMT
Works like a charm.  Many thanks.

-----Original Message-----
From: 1jan [mailto:1jan@xs4all.nl] 
Sent: Saturday, March 05, 2005 10:24 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] web server on LAN

The problem is appearantly in the ip-address: 127.0.0.1 or "localhost" is
the loopback address.
It means "this computer" and it means "this computer" on every computer...

So find out the real ip-addresses of the machines on your lan (type
"ipconfig" in a dos box on your win2k). Probably the addresses will be
something like 10.x.x.x, 172.[16-31].x.x or 192.168.x.x. Those ranges are
not in use on the global internet, they are reserved to use on a lan.

But there is more: typing something like http://172.18.27.64/ in your
browser all the time isn't really appealing, is it? And the number will
change over time.
If your lan is connected to the internet using a broadband router, there is
probably a tiny DNS-server running in that router. Now change the
windows-assigned hostname of your intranet-webhost into something decent
(property sheet of "this computer" on win2k). The DNS server in your
broadband router will take care of the rest (that is: if DHCP is enabled,
which usually is the case).

Try changing the hostname of your server into "www" and reboot, go to
another machine on the lan and type http://www/ (or even just "www") into a
browser. If this works there's no need to find out the ip-addresses first.

best regards -- Jan

----- Original Message ----- 
From: "Richard Cox" <racox@racox.net>
To: <users@httpd.apache.org>
Sent: Sunday, March 06, 2005 3:46 AM
Subject: [users@httpd] web server on LAN


> Is it possible to have another computer on my LAN at home access the web
> server as an "intranet" service for development purposes if the Apache is
> running on a workstation as opposed to a Server?  The OS is Win2K w/SP4.
> If
> someone does an http://127.0.0.1/, they currently don't see it.  What do I
> need to do if this is possible?
> Thanks,
> Richard
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message