LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2003, 05:36 PM   #1
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Rep: Reputation: 15
Apache and no ip.com


Im trying to set up a webserver with dymanic ip. Im using no ip to keep it updated. here is the problem. On the linux machine i can get to my webpage by the localloop. though the ip of my internet and the name of my website.

But when i try to go on the internet from a totally different computer to get to my website i get no page found.

anyone have any ideas why?

anybody point me in the right direction?
 
Old 03-11-2003, 06:09 PM   #2
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Rep: Reputation: 15
You'll first want to make sure you're not blocking port 80 on your firewall - probably iptables or ipchains.

You'll also want to try connecting to the machine using its external IP address (i.e. 24.63.125.96) instead of the fully qualified host name (i.e. mybox.homelinux.net) If that works then you've got a DNS issue which should be easy to resolve.

You can check the DNS entry using nslookup or dig. Make sure the IP address is correct.

That should be enough to get you started.

--Keith

Last edited by KeithKessler; 03-11-2003 at 06:10 PM.
 
Old 03-11-2003, 10:54 PM   #3
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
I can get to the page by putting in the ip address.

I have a cable modem do they usually block port 80 on them?
 
Old 03-11-2003, 11:18 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,427

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
If you can get to the webpage by the IP address assigned by the ISP from another PC on the internet then the problem most likely is the noip updater program. Make sure its running and you entered the correct information. Blocking port 80 depends on the ISP.
 
Old 03-11-2003, 11:33 PM   #5
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
no i cant get to it from an outside pc. only on the webserver it comes up.

how do i check if port 80 is blocked?
 
Old 03-12-2003, 05:09 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try a traceroute to your ip from an external source first to make sure you PC is visable at all (ie connected)

To see if a port is blocked use "nmap" on a linux box or "ipscan" (ipscan.sourceforge.net) on windows.

To check the firewall on your linux box:
1) login as root
2) type "lokkit"
3) set to "no firewall"
4) OK
5) Test

You should run lokkit again to re-enable your firewall (select the customise option and allow only the desired services)

Hope this helps

David
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 01:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 05:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 08:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 06:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration