Help - Search - Members - Calendar
Full Version: New To Web-hosting
Linuxhelp > Support > Programming in Linux
pickwickian
I finally got RedHat9 up and running, and I went out and bought Linux Network Administrators Guide thinking that it would tell me how to host a web page, create a LAN in my home office (three computers), etc. But after clueing me in on some basic terminology and networking history (eg., what does tcp/ip mean), it dove into a bunch of stuff that I couldn't really understand.

I want to:

1) Network the 3 computers in my home office together using my Linux machine as the gateway through which each reaches the other as well as the Internet.

2) Use the Linux machine as a router to connect my home network to the local cable company's broadband connection (this router needs to be able to handle the dynamic ip address handed to it from the cable company--both incoming as well as outgoing data, since I plan to host a web site)--and then to rout this data to my LAN without making my cable company charge me more money for more IP addresses (ie., I don't want a hub, I want a router).

3) Host a web site with my Linux box as server.

4) Do all of this securely.

I don't even think that I have Apache on my system. How do I check to see if I do? And is Apache the way to go? If I read up on Apache will I be able to do everything that I have mentioned? Is there some website that is the ultimate resource for dummies on this subject (a basic Google is giving me so many sites that I'm dying).

I know there's a way, and would be happy to be pointed in the right direction.

Thanks! huh.gif
DS2K3
Apache is a webserver - Thats it. You probably dont have it installed, since most people dont want a webserver.

Do you have a borabdand modem that is compatible with Linux? (All ethernet modems are, and some USB ones, I have never seen any other type of connecrot for a broadband modem, but I guess some of them would be compatible). If not, get yourself a cheap NAT router and save yourself some trouble.

The problem with using an actual PC to connect two other together, is that a) every packet sent puts load on the conencting machine, and cool.gif if it goes wrong, nobody has network access. It is possible to "bridge" connections though (which is what you are suggesting I think), i'm just not sure how you would go about it.

Provided you have a firewall, then it should be pretty secure. Again, a cheap NAT router will take care of a lot of that for you anyway.

D
pickwickian
OK,

About the router. The only reason I'm even thinking of using Linux to do my routing is because the router I have (netgear RP614v2) is a piece of crap, and crashes everytime ComCast sends it a new IP address (ie., the router can't handle dhcp--ticks me off!). I somehow got the impression that Linux could be used as a network router, and I figured I may as well use it as a router as buy another one that may be a piece of junk.

If, however, anyone has a suggestion for a good "external" router then I wouldn't have to worry about that piece of the puzzle.
DS2K3
Have you tried updating the firmware on the router? Manufacturers often sort problems like that after releasing the product.

D
pickwickian
I updated the firmware to the latest release. No good.
pickwickian
OK,

I can see that I have too many questions in the same topic (not to mention no one wants to talk about the ones that have nothing to do with Linux). I'll start a new thread after a little research.

Thanks!
michaelk
Yes you can use a linux PC as a gateway router and webserver. I do not suggest using RH9 as a gateway due to the fact that Redhat no longer supports this version with security updates. If you want a RH alternative then try CentOS or Whitebox. Here is a tutorial:
http://www.yolinux.com/TUTORIALS/LinuxTuto...Networking.html. Also have a look at the guides:
http://www.linuxhelp.net/guides/

TCP/IP - Transmission Control Protocol/Internet Protocol. TCP/IP are the communication protocols to connect PCs together via the internet. Google for more info.
pickwickian
Thank you very much for the information! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.