LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache server issue.... (https://www.linuxquestions.org/questions/linux-server-73/apache-server-issue-736792/)

kishorerhce508 06-30-2009 05:20 PM

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.

suhas! 06-30-2009 11:20 PM

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.

rsciw 07-01-2009 03:38 AM

take/get a non-private IP address

nowonmai 07-01-2009 03:55 AM

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?

kishorerhce508 07-02-2009 06:19 PM

[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 .

nowonmai 07-03-2009 03:29 AM

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

kishorerhce508 07-07-2009 11:16 AM

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.


All times are GMT -5. The time now is 10:29 AM.