Solved

w2k server + rh linux webserver dns problems

Posted on 2004-03-30
7
417 Views
Last Modified: 2013-12-06
I have one w2k server (pdc) and one Red Hat Linux Enterprise Linux 3.0 server. This w2k
(called hast2.hast.fi) server works as fileserver, people log on that and get their resourses from there.
The RH linux-server is new and it is supposed to become Intranet (web)server (Apache, PHP, mysql etc.).
I have Apache, PHP up and running and my problem is when I try contact this webserver(linux) named intra.hast.fi,  it takes a long time to before page opens. This must be somekind of DNS problem. I have added this intra.hast.fi (and its ip address) into w2k dns (hast.fi forward lookup zones). I have tried different options on network configuration and HTTP configuration (virtual host) on linux server, but the same problems occurs. I don´t have any dns services running in linux box.

Please let me know if You Experts have suggestions how to setup those servers to communicate with each other like they are supposed to !
0
Comment
Question by:jartsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 10

Expert Comment

by:anupnellip
ID: 10721984
does just giving the Ip address in the browser make the page open faster . If not then you should look at apache configuration !
0
 

Author Comment

by:jartsa
ID: 10722399
Sometimes when I open connection with domain name, page cannot be displayed occurs. Opening page with IP-address doesn´t make opening any faster ! In Apache I have configured following
servername: hast.intra.fi (do I need to use domain name here ?)
virtual hosts: defaults (I have tried IP-based virtual host intra.hast.fi > and its IP, but no difference)

What else need I configure there ?

 

0
 

Accepted Solution

by:
umair1 earned 125 total points
ID: 10724030
Remove all the DNS configuration.
Add the hostname IP combo to the hosts file on the client (eg winnt/system32/drivers/etc/hosts on nt/xp)
Ensure that the client is not using a proxy for local addresses (on IE under LAN Settings check "bypass proxy server for local addresses" ) if you are using a proxy server.

If you still have the speed problem then its an apache config problem. Otherwise its a network problem.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 2

Expert Comment

by:enkrypter
ID: 10727300
IT's definitely not a DNS issue.  If ti resolves at all the problem is not DNS.  Test this with a ping.

Ping  [your server DNS name] -l 4590 -t

This will send a 4k packet repeatedly.  Keep track of any loss or latency.  If the server pings consitently without loss, then you have an issue with apache.  If and when you do attempt to troubleshoot apache, I find it best to eliminate variables first by disabling PHP, mysql, SSL, and any other apache addon modules.  Test a stripped down version of apache then slowly add back services to locate the bottle neck.

PHP can do some nasty things, especialy if mysql is involved.  I am willing to bet that DNS is not even a factor, but either network overload or Apache.
0
 
LVL 10

Expert Comment

by:anupnellip
ID: 10730047
It could be the reverse host lookup on your apache server .  
In your Apache Server httpd.conf change
HostnameLookups  to off
 
0
 
LVL 10

Expert Comment

by:anupnellip
ID: 10730088
also give your server Ip in httpd.conf for

BindAddress
 
 
0
 

Author Comment

by:jartsa
ID: 10738405
Now I noticed another strange thing in opening connection to server. When I open connection after a while (like this morning), I can´t open connection with domain name, and when I open the connection with ip-address couple of times and after that works domain name also.
I have checked apache configuration and HostnameLookups are off , and I Binded server address also, but  opening connection I still slow.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question