Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
08-19-2003, 03:34 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Rep:
|
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]
|
|
|
|
08-19-2003, 03:38 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
That domain resolves to:
202.46.160.52
I think you should ask your dns registrar to update the entry.
|
|
|
|
08-19-2003, 03:50 PM
|
#3
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
|
08-19-2003, 03:51 PM
|
#4
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Do you have any firewalls running?
|
|
|
|
08-19-2003, 03:53 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
Not that I know of. Default installation of RH 7.1
|
|
|
|
08-19-2003, 03:53 PM
|
#6
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
Hope you don't mind, just sent you an email...
|
|
|
|
08-19-2003, 04:00 PM
|
#7
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
|
08-19-2003, 04:10 PM
|
#8
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
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):
|
|
|
|
08-19-2003, 04:12 PM
|
#9
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
browse to 66.227.123.217/Network.gif
You'll get an idea of the network setup...
|
|
|
|
08-19-2003, 04:30 PM
|
#10
|
|
Member
Registered: Jun 2003
Location: Canada,Ontario
Distribution: Debian and Gentoo
Posts: 135
Rep:
|
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.
|
|
|
|
08-19-2003, 04:33 PM
|
#11
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
Linux box not behind router.
> redhat-config-securitylevel
sh: redhat-config-securitylevel: command not found
|
|
|
|
08-19-2003, 04:41 PM
|
#12
|
|
Member
Registered: Jun 2003
Location: Canada,Ontario
Distribution: Debian and Gentoo
Posts: 135
Rep:
|
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
|
|
|
|
08-19-2003, 04:48 PM
|
#13
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
friddick - it does look the firewall rules. Try flushing them:
ipchains -F
|
|
|
|
08-19-2003, 06:27 PM
|
#14
|
|
LQ Newbie
Registered: Oct 2002
Location: Tampa, FL
Distribution: Redhat 7.1
Posts: 12
Original Poster
Rep:
|
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
 Frank
Last edited by friddick; 08-19-2003 at 06:31 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|