LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble making Apache visible on the internet (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-making-apache-visible-on-the-internet-657279/)

dbemont@rochester.rr 07-21-2008 04:05 PM

Trouble making Apache visible on the internet
 
I have set up a new machine using SUSE 10.3. It has a static IP through Roadrunner for the server I am setting up, and it can successfully access the internet through Firefox.

I have set up Apache2, and it is working to the extent that the "It's working" page shows up when I type localhost into Firefox.

However, no machine on the internet can see site. I cannot reach it from another machine using the ftp client FileZilla, nor can I reach it through a browser.

I have played around with YaST in DNS and hostnames, but I really don't know what I am doing, nor whether I am on the right track.

Any ideas would be very much appreciated!

FranDango 07-21-2008 05:12 PM

If your server is behind a router, then make sure that port 80 on the router is forwarded to your server. If you want to have FTP access (or SSH, etc) then forward those ports as well.

On any other PC type your IP number in the URL field of a web browser and see what is actually displayed. In case of a router you should see the router's internal web interface with a login page, unless you made the settings as described before.

Having a static IP number for your server on the local network is one thing. To access your server from the Internet you need to know the IP-address of your Internet connection, which should be a fixed IP-number if you truly want to serve webpages to the public.

Linux Archive

dbemont@rochester.rr 07-21-2008 05:22 PM

[QUOTE=FranDango;3221980]
On any other PC type your IP number in the URL field of a web browser and see what is actually displayed. In case of a router you should see the router's internal web interface with a login page, unless you made the settings as described before.
QUOTE]

I have a cable modem -- not sure if that counts as a router in this sense. But I went to another computer using the cable modem and typed in the static address, and it just came back Internet Explorer cannot display the web page.

Not sure if this is what you meant or not, though.

dbemont@rochester.rr 07-21-2008 05:35 PM

When i type ifconfig I get the correct inet address -- that is, the static IP that is provided by Roadrunner. And I can access the internet through Firefox... so doesn't that mean the static IP is working? Or is my thinking wrong here?

FranDango 07-24-2008 03:36 AM

A cable modem doesn't qualify as a router.

The IP number you see when running ifconfig will show you the IP-number of that PC on the local network. You can access the Internet from your local network, that's why Firefox runs fine.

Your local network can not be accessed from the Internet, because the IP range of a local network (192.168.n.n) will display the local network of that remote system where the URL is entered.

Linux Archive


All times are GMT -5. The time now is 12:07 AM.