CentOS 6.4 Apache Networking Issue

Issues related to configuring your network
Post Reply
krjay5
Posts: 3
Joined: 2015/06/12 19:37:28

CentOS 6.4 Apache Networking Issue

Post by krjay5 » 2015/06/12 19:42:11

I setup Centos 6.4 and Apache. Centos server is 192.168.1.2/24. When I try to access the centos server via http from a desktop (192.168.1.3/24) it works fine. When I move the desktop to 192.168.2.3/24 and have to traverse a router I cannot access the apache test page. I am however able to ping the centos server from the desktop so I do believe the networking is setup correctly. Any idea why I can ping across the subnets but my web server is not accessible via http?

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.4 Apache Networking Issue

Post by TrevorH » 2015/06/12 20:18:24

First, don't use 6.4, it's out of date and has numerous security vulnerabilities. Run yum update to get to the latest 6.6.

Do you have any iptables rules that allow/deny access? Run iptables-save to list them. Do you have a default route set up on your CentOS system so that it can get outside its own subnet?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

krjay5
Posts: 3
Joined: 2015/06/12 19:37:28

Re: CentOS 6.4 Apache Networking Issue

Post by krjay5 » 2015/06/12 20:27:51

I'm in a lab environment, but I will grant internet access and update to 6.6. I do have a default route setup. I am able to ping from the server to the desktop that resides in a different subnet. Also, iptables-save doesnt return anything.

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.4 Apache Networking Issue

Post by TrevorH » 2015/06/12 20:52:08

Then I'd guess that whatever router you have between the 2 subnets is blocking port 80 traffic.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

krjay5
Posts: 3
Joined: 2015/06/12 19:37:28

Re: CentOS 6.4 Apache Networking Issue

Post by krjay5 » 2015/06/15 11:37:07

I dont believe that's the issue. I have placed other devices with web servers in this lab and they work. This centos server does not

Post Reply