Solved

Help configuring Apache Web Server behind a firewall.

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco AP to get ip from DHCP 10 73
PHP Sessions in WordPress 8 30
Wordpress Taxonomy 2 27
Unmanaged Switches for Optimized Network Speeds 7 37
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 …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

776 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