LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2008, 08:29 AM   #1
elthox
Member
 
Registered: Oct 2006
Posts: 41

Rep: Reputation: 15
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
 
Old 10-14-2008, 08:36 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
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
 
Old 10-14-2008, 08:49 AM   #3
elthox
Member
 
Registered: Oct 2006
Posts: 41

Original Poster
Rep: Reputation: 15
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"
 
Old 10-15-2008, 01:35 AM   #4
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing apache from lan mizos13 Linux - Newbie 12 06-19-2008 06:38 AM
Problem accessing computer through LAN jojojo Linux - Newbie 5 05-27-2006 03:56 PM
Apache LAN IP resolution problem awesom-o Linux - Networking 1 04-09-2005 07:17 AM
LAN accessing problem aditya1 Linux - Networking 1 03-09-2005 12:42 PM
Problem accessing subdirs from doc root on Apache server ph0ngwh0ng Linux - Newbie 4 04-24-2004 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration