Solved

Apache2 and server's new domain

Posted on 2008-10-15
2
179 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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é.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now