LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in Accessing the Apache from LAN (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-accessing-the-apache-from-lan-676250/)

elthox 10-14-2008 08:29 AM

Problem in Accessing the Apache from LAN
 
Hi all,

I have installed an apache server in debian, and configured it. When I access it using the servername from the local browser it works properly. But when I try from a different workstation in Lan to access it, it fails.

Any clue?

Thanks

jimbo1954 10-14-2008 08:36 AM

If you are trying to access it via the host name, be sure that the host name is known by your DNS server, or else try to contact it by IP address. If you can tell us a bit more detail, we can help you better...like what happens when you try to access it, and how are you trying to access it

HTH

elthox 10-14-2008 08:49 AM

When I access the page locally via hostname or IP I can access it. But when I access it from LAN via servername it gives me "host not found" error. whereas when I try accessing using the IP it gives "connection time out"

jimbo1954 10-15-2008 01:35 AM

OK, so there are two problems here: "host not found" is probably because your browser is trying o resolve an IP address from the hostname supplied, and DNS doesn't have the hostname in its records. do an nslookup on the hostname to see if DNS knows about the host

"Connection timed out" is down to the browser trying to send a request and not getting a response. This could be due to routing problems or issues with the subnet. Can you describe the path between browser and server (including subnets and IP addresses) when this happens?


All times are GMT -5. The time now is 12:28 AM.