LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache virtual server problem... :( (https://www.linuxquestions.org/questions/linux-networking-3/apache-virtual-server-problem-166266/)

mtkocak 04-04-2004 09:43 PM

Apache virtual server problem... :(
 
Hello everybody,

My question is,

I have satellite wifi internet and a static IP provided by my isp,
i have di-614+ router, one PC with mandrake 10 Community Edition with Apache inside. (I didnt configure Apache. But it works.)

I can enter to server's home with 127.0.0.1 address in web browser, but i want to use that webserver with my static ip. I can't enter to server with static IP. I configured my router to have virtual server. But it did not work.

What is the problem there?:confused:

Thanks for your attention.
MK
mtkocak.

chort 04-04-2004 10:16 PM

You need to forward port 80 on your router to the Linux box, by using the IP of eth0. 127.0.0.1 is just the loopback address, i.e. any box that you connect to 127.0.0.1 it will always be "itself". Your static IP is probably assigned to your router, so that is why you need to forward port 80/TCP (HTTP) on the router to the Linux box. The last piece of the puzzle is that you need to know what IP your Linux box has (it's probably assigned by DHCP from the router). Do ifconfig eth0 to view the IP.

Before you open up your web server to the world, you should make sure that you've downloaded and installed all security patches for your operating system and it's software.

mtkocak 04-05-2004 07:25 PM

I forwarded my router to my private ip. and to prt 80 :confused: not working.


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