Solved

Apache2 and server's new domain

Posted on 2008-10-15
2
208 Views
Last Modified: 2010-04-21
I just changed a debian (Etch4.04) test server over to production.  The domain and IP address were changed on a separate DNS server's namedb/ns records (Our own name servers).  On the debian server "uname -a" correctly brings up the new domain.

Problem: The domain does not work in a browser (time out).  The connection is refused (via a command line on another server).

What else should be set up for apache2 on Debian 4.04 to use the new domain?
0
Comment
Question by:arikin
[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
2 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 125 total points
ID: 22729425
1. Check the DNS is correct and working (from a seperate machine).  Ping it by name and see if you get the right address and can there.

2. Check you are running apache on the server and it is not firewalled off.
go to seperate machine again and type
telnet www.whatever.com 80
This tries to open a connection on port 80 (standard web port).

If this says 'connected' then you are working.  If not then make sure you are running apache and it is on port 80 and accepting requests from outside (check the bind address - if you are not sure set it to 0.0.0.0)
If this is ok check the firewall on the machine and on the network.

3. If all this is ok then you are not getting a page as you have not told apache to server pages for this address.  Are you planning to use multiple addresses / names on this box or will it serve the same pages for every request.
Set this up in httpd.conf or in vhosts.d folder (if it has one)

0
 

Author Closing Comment

by:arikin
ID: 31506584
Thanks for covering all the bases so well.  This turned out to be a firewall.  The IP was being filtered at the gateway switch level because the previous server's settings were still there.
Thanks again.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

726 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