LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-11-2003, 08:07 PM   #1
Xiat
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Apache and remote calling


The company I work for has recently had their web page stored entirely on a remote server. This hasn't been too bad since the remote server allows to run cgi scripts, etc. Recently though the company have decided to host everything locally to allow for more flexibility and more powerful options (SQL, PHP, etc.)

So I've made a machine, installed Linux 7.1 (last version that works with all our design software) and tried to get Apache to run.

I think I've gotten it up in that when I go to http: //localhost it directes me to the test page (the Apache page that reads: "If you can see this, it means that the installation of the Apache web server was successful...").

Now my problem. How do I get my server accessable from the outside? Our current setup is to have an internal network with assigned IP addresses and have a server act as a gateway for accessing the internet. The computer this is to be installed on is not that server.

Is there any way to route requests to the machine with the Apache server? How would I configure the different machines to get this to work?

Once I can access the Apache server from outside it shouldn't be hard to have the current web-site location forward all requests over. I have no idea how to proceed and I haven't seen any posts where this was covered (although I was limited by not knowing what to search under).

Anyone know?
 
Old 08-11-2003, 09:34 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Standard practice port forwarding, configure it on the gateway to forward requests for port 80 to the linux machine.

I'm quessing the gateway isn't a linux machine too though? I'f you're opening up your company's LAN to do this at the very least I'd put it on a different subnet, get routing rules on the gateway if it isn't set up for it so the rest of the lan can reach it if required and firewall the apache machine and stick another firewall between it and the rest of your lan.
 
Old 08-11-2003, 09:37 PM   #3
Cafrow
Member
 
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45

Rep: Reputation: 15
I had this problem a lot with windows boxes, make sure that if your Linux has a Firewall installed, that you open port 80, otherwise your Linux firewall might be stopping requests, had this happen a few times in the past and felt really stupid after working on it for like 2 days to figure out what the problem was.
 
Old 08-12-2003, 12:32 PM   #4
Xiat
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Got it thanks.
 
  


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
Remote management of APACHE Ab2kgj Linux - Software 4 11-14-2005 12:28 AM
odd recursion: calling "by hand" vs calling by cronscript... prx Programming 4 02-12-2005 05:59 PM
calling any apache gurus Andy@DP General 2 09-12-2003 12:19 PM
remote restart apache sim Linux - Software 1 06-11-2002 06:49 AM
No remote Telneting and no Apache hubergeek Linux - Software 1 04-05-2002 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 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