?
Solved

Help configuring Apache Web Server behind a firewall.

Posted on 2008-10-21
5
Medium Priority
?
292 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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…
Suggested Courses

777 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