Solved

Help configuring Apache Web Server behind a firewall.

Posted on 2008-10-21
5
290 Views
Last Modified: 2013-11-30
I have a new website/server running Windows 2003 Server, Apache 2.2.9, PHP 5.2.6, MYSQL 5.0.67 and WordPress 2.6.2.

It is running fine for internal users (private network) but the connection times out on the public network (external users).  

I have correctly set the internal and external A records correctly.  And I have port 80 forwarded to the ip address of the webserver.

When I run a trace I can see a request come in to the webserver but nothing goes out from the server.  It is like the request dies at the webserver.

Thanks in advance - Dave
0
Comment
Question by:it-kourt
[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
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22772748
So if you run the internal IP in the browser it works but what happens if you run the external address ( go to www.ipchicken.com to find it )
0
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22772756
If running the external IP works then its something to do with your DNS and if its doesn't work and times out we know its something on your web server.
0
 

Author Comment

by:it-kourt
ID: 22776726
I actually have 10 external IP addresses.  I have our external dsn set to forward:
www.siteA.com to xxx.xxx.xxx.aaa
www.siteB.com to xxx.xxx.xxx.bbb
I used www.network-tools.com to check the A records and they are correct.

www.siteA.com is forwarded with our Watchguard 750e firewall with http filter to internal IP of our IIS webserver.
www.siteB.com is forwarded with our Watchguard 750e firewall with http filter to internal IP of our Apache webserver.

I can browse www.siteA.com from the public network as well as our internal network.
I can browse www.siteB.com from our internal network but not the public network.  For some reason the incoming http packets are reaching the Apache webserver but do not get a response packet from the Apache webserver.
0
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22779817
Ok with site A your problem is with the DNS. Reason why i say that is you know that the server is running because you can access the side via an internal address. Also you know that it doesnt have anything to do with your firewall because its showing up on external address.

With side B you know its not the web server because it works from an internal address but you could have a problem with your firewall.

I would either DMZ or disable the firewall to those internal address just for testing purposes. Once you have ruled out the firewall move on the the DNS. It doesn't should like its a problem with your web server but the problems inlay somewhere else. If the web site pulls everytime from the internal address then your server is working fine.
0
 

Accepted Solution

by:
it-kourt earned 0 total points
ID: 22790186
Well it turns out someone changed the default gateway to the IP of the box.  Changed it back and all is fine.  Thanks for all of your responses.
- Dave
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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