LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2004, 09:43 PM   #1
mtkocak
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
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?

Thanks for your attention.
MK
mtkocak.
 
Old 04-04-2004, 10:16 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.
 
Old 04-05-2004, 07:25 PM   #3
mtkocak
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I forwarded my router to my private ip. and to prt 80 not working.
 
  


Reply



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
Apache Virtual Server Problem caspery Linux - Networking 6 06-11-2005 01:24 PM
Apache SSL, and Virtual Server problem Spreegem Debian 2 04-07-2005 04:54 PM
Apache Virtual Server g452 Linux - Software 1 05-22-2004 04:06 PM
Virtual Hosts in Apache Server irclord Linux - Networking 5 09-02-2003 01:29 PM
Apache Virtual Server - 01 bkeating Linux - Software 5 12-05-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration