LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache and no ip.com (https://www.linuxquestions.org/questions/linux-newbie-8/apache-and-no-ip-com-49325/)

Z28kid 03-11-2003 04:36 PM

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?

KeithKessler 03-11-2003 05:09 PM

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

Z28kid 03-11-2003 09:54 PM

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?

michaelk 03-11-2003 10:18 PM

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.

Z28kid 03-11-2003 10:33 PM

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?

david_ross 03-12-2003 04:09 PM

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


All times are GMT -5. The time now is 03:27 PM.