LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   New Web Server Setup (https://www.linuxquestions.org/questions/linux-networking-3/new-web-server-setup-159106/)

wizjr1 03-17-2004 04:14 PM

New Web Server Setup
 
Here is my plan: Setup a websever at home that is connected to my home network and the internet for people to access.

I want to keep my network secure (running windows on my network - Peer to peer on three machines). My internet connection is DSL with a router/firewill to my network.

A forth machine is setup (linux fedora). as of now it is hooked up behind the router/firewall along with my home network. Apache, mysql, & php are setup and have been tested on this machine and I can "serve" webpages to my network.

I already have a few websites being hosted by a hosting company and i want to move them to this machine and host them myself. How do i setup the machine to serve websites to the internet and still access it from my network?
:scratch:

has anyone written a book or how-to on setting up a webserver from scratch to the point of hooking it up to a network and the internet?
If so can someone let me know?:study:

Thanks for all the help in advance.:D

robospike 03-17-2004 05:53 PM

If you have your server setup and its ok on your LAN, you should just be able to add a rule on you DSL Firewall to allow port 80 on its WAN interface to that host internally.

then just type the external ip into a browser on a different connection and you should get your default site....

I have setup this on my connection just as a test with the Apache test page, it was ok.

Then you can opt into a DNS Name for your IP if you wish. (www.dyndns.org)

Hope this helps.


All times are GMT -5. The time now is 04:13 PM.