Click to See Complete Forum and Search --> : An easy question, I think....


stingray72
11-20-2001, 02:50 PM
I am thinking about using my PC as a web server so I don't have to pay for space. Right now I've got my RH7.2 machine hooked up through a linksys 4 port router. I think I have to disable DHCP in the router so I can forward port 80 to my Red Hat machine so that the outside internet can see my webpage. When I disable DHCP I am going to have to manually assing my computer an IP address on my home network (2 PC's) right? How would I go about doing this?

Also, how do I tell if Apache is up and running correctly?

Thanks...

UkrainianTire
11-23-2001, 05:47 PM
You'll want to use linuxconf to set up your networking settings its pretty easy to figure out once you're in there.

As for whether or not apache is running. type in http://127.0.0.1 from a browser in your server box and the default apache page should pop up. Or from another machine do http://serveripaddress and you should get the same effect.

Enjoy :)

saithan
11-23-2001, 07:50 PM
you don't need to disable dchp on the router to forward the ports.
for over a year I ran a web server on a 4 port linksys router. linksys is about the easiest there is to configure.
I would just place the web server as the first machine to boot up on the router which would place it at the begining point you told the router to start assigning IPs. default 192.168.1.2, seeing how it is going to be running 24-7 there is no need to worry about the lan IP changing. any other machine booting on to the network will be assigned the next possitions xxx.xxx.xxx.3-255.
if by chance you reboot the entire network just make sure the webserver is the first machine online and you wont need to reconfigthe routers fowarding.
I know this is nothing more than a work around but doing it this way I found saved me time when adding machines to the router (I held allot of lan game parties at the time).

stingray72
11-24-2001, 11:42 AM
Thanks guys, got it up and running. Appreciate the help...