Can't see WebServer from outside... Can see WebServer locally as http://localhost
I can't reach a domain on newly setup Redhat Linux webserver at my office
IBM Netfinity 3500 Dual P-II 266 CPU's 128mb RAM 9gb SCSI HD Redhat Linux 7.1 Apache version 1.3.19 Anyone have any idea why I can't reach the domain:domainz.com- I can browse to the default Apache web page on the local box at : [localhost] and [127.0.0.1] and the static IP [36.116.72.105] Note: I have a DSL Internet connection with 3 IP addresses (let's say 36.116.72.103, 104 and 105). I've switched some numbers around so the actual IP addresses are not shown to the whole world. I go home and can't reach [domainz.com]. I can ping [36.116.72.105] just fine. I'm also running WebMin web based management software that listens on port 10000 and I can get to that login page by going to : [domainz.com:10000] Any ideas. I think it has something to do with DNS but I'm lost. Goto [66.227.123.217/Network.gif] to see network layout Supporting setup information already documented in this thread. [threadid=75356] |
That domain resolves to:
202.46.160.52 I think you should ask your dns registrar to update the entry. |
I didn't put the real domain or IP's up on the forum
Note: I have a DSL Internet connection with 3 IP addresses (let's say 36.116.72.103, 104 and 105). I've switched some numbers around so the actual IP addresses are not shown to the whole world. |
Do you have any firewalls running?
|
Not that I know of. Default installation of RH 7.1
|
Hope you don't mind, just sent you an email...
|
no problem - got the e-mail. It looks like a firewall isse to me. RH 7.1 uses ipchains. Take a look to see if there are any firewall rules there:
ipchains -L Also take a look on your router to make sure you have allowed port 80. You may want to check with your ISP to see if their terms of service permit you running a web server. |
I hope I can do these things remotely, I'm at home using the web based mgmt tool (WebMin). This box is not behind the router.
This is what I get: > ipchains -L Chain input (policy ACCEPT): target prot opt source destination ports ACCEPT udp ------ NS2.ij.net anywhere domain -> any ACCEPT udp ------ aslan.ij.net anywhere domain -> any ACCEPT udp ------ anywhere anywhere bootps:bootpc -> bootps:bootpc ACCEPT udp ------ anywhere anywhere bootps:bootpc -> bootps:bootpc ACCEPT all ------ anywhere anywhere n/a REJECT tcp -y---- anywhere anywhere any -> 0:1023 REJECT tcp -y---- anywhere anywhere any -> nfs REJECT udp ------ anywhere anywhere any -> 0:1023 REJECT udp ------ anywhere anywhere any -> nfs REJECT tcp -y---- anywhere anywhere any -> x11:6009 REJECT tcp -y---- anywhere anywhere any -> xfs Chain forward (policy ACCEPT): Chain output (policy ACCEPT): |
browse to 66.227.123.217/Network.gif
You'll get an idea of the network setup... |
probably firewall..
run: redhat-config-securitylevel and make sure WWW (http) has been opened. also if your behind a router firewall youll have to open the port there as well.. read your router documentation or ask your sysadmin. |
Linux box not behind router.
> redhat-config-securitylevel sh: redhat-config-securitylevel: command not found |
redhat-config-securitylevel is a gui to config the redhat firewall ( must have and be in X)
lynx@Kv ~:$ whereis redhat-config-securitylevel redhat-config-securitylevel: /usr/bin/redhat-config-securitylevel /usr/share/redhat-config-securitylevel |
friddick - it does look the firewall rules. Try flushing them:
ipchains -F |
I flushed the firewall rules...
Now I can browse the default Apache web page > ipchains -F > ipchains -L Chain input (policy ACCEPT): Chain forward (policy ACCEPT): Chain output (policy ACCEPT): Thanks :confused: Frank ;) :Pengy: |
All times are GMT -5. The time now is 09:32 PM. |