LinuxQuestions.org
Review your favorite Linux distribution.
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 03-04-2005, 01:50 AM   #1
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Rep: Reputation: 15
about connecting to web server


I had installed fedora 2.

I got a fixed IP

and a web (PHP)

I had an apache2 server to run the PHP (but using localhost)

Now i want to make the web accessible by other people through the internet...

can anybody tell me how to do it?


thank you
 
Old 03-04-2005, 02:16 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
there should be a "Listen on " in the httpd.conf file. You'll have to edit it to listen to your IP.
 
Old 03-07-2005, 07:51 AM   #3
tszhim
Member
 
Registered: Feb 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Listen MyIP:80
Listen 80

i cannot start the server it said the problem is from Listen 80... i commented that and the problem is solved...

i wonder if it's possible to listen both ip and the localhost?
 
Old 03-07-2005, 08:57 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Leave just the
Code:
Listen 80
entry. Thus apache will listen to than port for all the interfaces you may have.
 
  


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
Slax & connecting to the web parhezgoli Slackware 3 08-17-2005 09:17 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

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

All times are GMT -5. The time now is 11:09 AM.

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