LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2004, 06:47 PM   #1
Ben Sytko
LQ Newbie
 
Registered: Jan 2002
Location: Grand Rapids, MI
Posts: 27

Rep: Reputation: 15
Setting up remote Linux webserver


Hello,

I recently obtained an old PC. This PC is not good enough to run any type of GUI so I deceided to make it into a web server. For the time being, I hooked up an old monitor and keyboard and installed Red Hat 9 on it. I know Red Hat is phasing this out, but its all I had on CD's right now. Anyway, the setup installed Apache, but I cannot figure out how to access it from my main PC. I tried typing in the IP of the server in the browser formally known as Firebird, but it said conection timed out. I also wish to set up other features such as a mail server, and I also wish to route all incoming HTTP Requests to that PC. It would be great if I could somehow route all incoming POP3 email, so I could install SpamAssian and have it filter my email then deliver it to my PC. I wish to do somuch, but I am having a hardtime finguring it out. If anyone could help or knows of any good books to buy I would appreciate it. Thanks.

-Ben
 
Old 02-13-2004, 06:51 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
For the time being, it sounds like you just need a bit of networking advice? If not, please feel free to disregard and reclarify your needs:
First off, how is this "old PC" on the network? Is your router forwarding packets to that box when a port 80 request is made (a port 80 request is made by typing http://192.x.x.x into a browser, where 192.x.x.x is the IP of the box you want to request the http from)? Can you describe your network? Be sure that you don't have a firewall on that redhat box blocking port 80, for the http requests. Be sure Apache is started on the box as well (follow the millions of guides available on ensuring apache is started correctly and that it's running).

If none of this helps, please feel free to post back up with answers to the above questions as well as any other pertinent info you may have

Cool
 
Old 02-13-2004, 07:39 PM   #3
Ben Sytko
LQ Newbie
 
Registered: Jan 2002
Location: Grand Rapids, MI
Posts: 27

Original Poster
Rep: Reputation: 15
Ya, Apache is running. Not sure about the router forwarding stuff. Yes I set it up with firewall installed. Perhaps I should look for a networking book....

Network setup is below:

Modem -> Router -> 1. Linux PC
2. Main PC
3. Other PC

Last edited by Ben Sytko; 02-13-2004 at 07:51 PM.
 
Old 02-18-2004, 08:03 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Check your firewall rules then, and also ensure the packet forwarding on the router is pointing the http (port 80) packets to the box running Apache

Cool
 
Old 02-18-2004, 09:27 PM   #5
Ben Sytko
LQ Newbie
 
Registered: Jan 2002
Location: Grand Rapids, MI
Posts: 27

Original Poster
Rep: Reputation: 15
I bought a book called Advanced Linux Networking and I got it all sorted out. Thanks.
 
Old 02-18-2004, 11:38 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Good deal, what was it then?

Cool
 
Old 02-19-2004, 03:21 PM   #7
Ben Sytko
LQ Newbie
 
Registered: Jan 2002
Location: Grand Rapids, MI
Posts: 27

Original Poster
Rep: Reputation: 15
The firewall to start. Then it was a matter of seting up the router and all is good to go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up a Webserver using linux redhat 8.0 Amd619 Linux - Networking 3 03-11-2005 11:08 PM
setting up a linksys printserver with linux as remote print server mattmc97 Linux - General 2 02-15-2005 10:13 AM
How to run webserver using remote boot. cyto Linux - General 4 01-24-2005 07:20 PM
Setting up secure apache2 webserver https access on suse linux 9.2 svanati SUSE / openSUSE 4 12-21-2004 09:07 PM
Setting up a webserver with Mandrake Linux 10.1 MercuryRaz0r Linux - Networking 18 10-26-2004 03:19 AM


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