Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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).
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.
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.