I just recently bought a MR314 Router from netgear, its the wireless one, and i wanted to run a small website off of one of my computer connected to the router and i was wondering how i would do so? thx alot!!
Announcement
Collapse
No announcement yet.
Running A Small Server
Collapse
X
-
Ok, what we need to do is. First give the machine you want to run the webserver on a static IP. Basically, enter the web interface and get the following information.
The LAN IP of the router, also take a look at the DHCP scope.
Take the starting address and add 1 to it. so if the starting address is 192.168.0.2, change it to 192.168.0.3. Because we want to exclude the IP address you're gonna give that computer so it doesn't try to assign it to another computer.
So give the machine the IP address that you excluded, in our example, 192.168.0.2
Also give the machine to be the web server the same subnet mask that it shows in the DHCP scope.
And for a Default Gateway give the computer the LAN IP that you got from the router.
So after that you should have a machine with an IP that doesn't change that is still on the network.
Now enter the router again and setup "port forwarding" (it may be labeled packet forwarding or something else) and forward port 80 (HTTP) to that IP, again in our example 192.168.0.2.
And lastly install web server software on that machine. I suggest for simplicity use TinyWeb. http://www.ritlabs.com/tinyweb/
One more thing, make sure you have WEP encryption enabled for that router. If not, it would be very easy for someone to drive down the street and have access to your network and any shared files.
Later
Comment