Operating System - Linux
1824971 Members
3682 Online
109678 Solutions
New Discussion юеВ

Re: Client can't connect to Apache Server

 
Sakui
Frequent Advisor

Client can't connect to Apache Server

hi guys,

I have configured my apache on linux 9.I also configure a dns setting with all the zones and reocords.when i used dig command ,i get a answer section of the query. I used a cross over cable between the linux and windows clinet. I configured windows client with the ip address and DNS setting from my Linux box.On the windows client,i set the dns setting to be the ip address of linux box.when type www.internal.Unixlab.com on windows client i get an error saying page can't dispaly.but when type wwww.internal.Unixlab.com on the Linux box ,i see the web page dispaly.I can also ping both the linux and windows client by ip address and not by name.so what is problem with the client connect to the web page.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Client can't connect to Apache Server

1) Make sure the windows box can ping by name the Linux box. If it can not, continue to work with network configuration until ping connectivity is achieved.

2)Once ping connectivity is acheived, tail -f /etc/httpd/log/access_log on the Linux box. Attempt to connect from windows. You should see a log entry immediately. If not check the error_log file.

3) A problem with item 2 might require changes to httpd.conf to accomodate your networking configuration.

Problem seems as you state to be DNS related.

4) On Linux, tail -f /var/log/messages
Attempt dns lookups of the website that is hosted on Linux and look for errors.

Post more data after running some tests.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Karsten Breivik_1
Frequent Advisor

Re: Client can't connect to Apache Server

can you access the page using only the ipaddress of your unix server?
poi
Ivan Ferreira
Honored Contributor

Re: Client can't connect to Apache Server

In windows, use Start - Run - nslookup, and try to resolve the address for www.internal.Unixlab.com
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?