Solved

Help configuring Apache Web Server behind a firewall.

Posted on 2008-10-21
5
280 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
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…
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…

705 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

15 Experts available now in Live!

Get 1:1 Help Now