Welcome to WebmasterWorld Guest from 54.159.30.26

Forum Moderators: phranque

Message Too Old, No Replies

http server trouble

     
2:58 pm on Dec 29, 2004 (gmt 0)

New User

10+ Year Member

joined:Dec 29, 2004
posts:28
votes: 0


Hi.

Have some problems accessing my apache (Apache/1.3.31 (Win32) PHP/4.3.7) server.
At the server itself I have no problems accessing sites using the server-hostname. But from another computer on the same LAN I can't seem to access my sites using the same server-hostname. If I use the ip-adress of the server I can access it, but only then.
I have a theory that when using the server-hostname the client will first go out on the WWW and lookup the hostname through DNS, but the LAN is behind a firewall, so maybe it can't be looked up, but I have doubts about this beeing what's causing my trouble.

Anyone have any idea what may be wrong?

Regards tores

3:10 pm on Dec 29, 2004 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


Welcome to WebmasterWorld, tores.

I won't pretend to know your entire network setup but I believe you are correct. If you are running a typical Windows peer-to-peer network with only TCP/IP running, you won't find other computers by name. There are a number of options here, one being installing the correct protocol(s) and joining a common workgroup.

There is an active thread running right now that may help you though. See Setting up a home network [webmasterworld.com] for more information.

3:11 pm on Dec 29, 2004 (gmt 0)

Administrator from CA 

WebmasterWorld Administrator bakedjake is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 8, 2003
posts:3883
votes: 61


Enable NetBIOS over TCP/IP.

Added: You could also fake it and add the hostname of the other computer to the hosts file. That's probably a bit safer than enabling NetBIOS over TCP/IP (but shouldn't matter if you're behind a firewall).