LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2009, 05:20 PM   #1
kishorerhce508
LQ Newbie
 
Registered: Oct 2008
Posts: 26

Rep: Reputation: 15
Apache server issue....


Hi all, this is Kishore

I had a web server issue. I am using RHEL 5.0

I configured my web server sys2.kkd.com with ip 192.168.157.202 when I try to browse my web page with http://sys2.kkd.com I am getting an error page can not be displayed and when I try with ip add http://192.168.157.202 its working

My dns server is kkd.com and I configured web server in sys2.kkd.com
when i try to dig from my dns server answer=0
dig -x 192.168.157.202 and dig sys2.kkd.com --- no answer for both and I am able to dig kkd.com or dig -x 192.168.157.200 from sys2.kkd.com

MY server kkd.com--192.168.157.200 bind with public ip
My web server sys2.kkd.com --192.168.157.202

I want help on this issue...........waiting for help and reply..

Thanks and regards

KISHORE KUMAR DATLA.
 
Old 06-30-2009, 11:20 PM   #2
suhas!
Member
 
Registered: Mar 2007
Posts: 100

Rep: Reputation: 17
Hey its all a little confusing. Just let us know below things

1) The DNS server configured in /etc/resolv.conf on your web server.
2) Dig output from your web server for your domain name.
3) Try nmap command to check udp and tcp port 53 reachablity from your web server to dns server

Regards.
 
Old 07-01-2009, 03:38 AM   #3
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
take/get a non-private IP address
 
Old 07-01-2009, 03:55 AM   #4
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
To proceed, we need to be a little more organised in terms of information...
How many machines are we talking about? 2? 3?
Assuming 3, let them be designated as follows...

A. Client
B. Webserver
C. DNS Server

How is resolv.conf configured on A?
If you dig @192.168.157.200 sys2.kkd.com from A, what results do you get?
 
Old 07-02-2009, 06:19 PM   #5
kishorerhce508
LQ Newbie
 
Registered: Oct 2008
Posts: 26

Original Poster
Rep: Reputation: 15
[QUOTE=nowonmai;3592692]To proceed, we need to be a little more organised in terms of information...
How many machines are we talking about? 2? 3?
Assuming 3, let them be designated as follows...

A. Client
B. Webserver
C. DNS Server

How is resolv.conf configured on A?
If you dig @192.168.157.200 sys2.kkd.com from A, what results do you get?[/QU]

I am using vmware and installed THREE virtual machines
-----------------------------------------------------------
sys1. DNS server 192.168.157.200 KKD.COM

sys2. Web server 192.168.157.201 SYS1.KKD.COM

SYS3. CLIENT 192.168.157.202 SYS2.KKD.COM
------------------------------------------------------
From sys2 and sys3 able to dig both ip and kkd.com I am getting

query:1, answer:0,authority:2,additional:0
-----------------------------------------------------------------
if I dig web server from client or from DNS server I am getting

dig -x 192.168.157.201 ; dig sys1.kkd.com

query:1, answer:0,authority:1,additional:0
-------------------------------------------------------------------
If I dig client from web server or from server answer=0

dig -x 192.168.157.202 ; dig sys2.kkd.com

query:1, answer:0,authority:1,additional:0
----------------------------------------------------------------

(/etc/resolve.conf) nameserver 192.168.157.200 (in client and web server)

query:1, answer:0,authority:1,additional:0

-------------------------------------------------------------------

I am waiting for your help/assistance.........

Thanks and Regards
Kishore Kumar .
 
Old 07-03-2009, 03:29 AM   #6
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
If you're getting 'answer:0' then there's a DNS misconfiguration somewhere... either your resolv.conf on each machine is wrong, or the bind setup is.
Also, the dig commands you are giving aren't giving us any solid information...

Can you post the full results of...

from .201

dig @192.168.157.200 kkd.com
dig @192.168.157.200 sys1.kkd.com
dig @192.168.157.200 sys2.kkd.com

from .202

dig @192.168.157.200 kkd.com
dig @192.168.157.200 sys1.kkd.com
dig @192.168.157.200 sys2.kkd.com
 
Old 07-07-2009, 11:16 AM   #7
kishorerhce508
LQ Newbie
 
Registered: Oct 2008
Posts: 26

Original Poster
Rep: Reputation: 15
Hi thanks for your valuable suggestions. I followed your steps I reinstalled all the packages and reconfigured but same issue and latter I found that issue is with my resolv.conf and I made required changes now the issue is fixed.


VERY THANKS FOR YOUR SUGGESTIONS AND FAST RESPONSE.

THANKS AND REGARDS
KISHORE KUMAR DATLA.
 
  


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
Issue with Apache Server?? ajeetraina Linux - Server 1 11-15-2007 02:25 AM
Using Apache server with non-static IP address issue coldbeer Linux - Server 2 07-06-2007 08:09 AM
Apache 2.2.3 issue. Galaxy_Stranger Linux - Server 4 09-12-2006 03:57 AM
apache server slow with images issue? mutsu Linux - Software 3 08-15-2006 04:36 PM
Apache Issue Jukas Linux - Software 3 07-14-2005 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:35 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