Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and routers

Status
Not open for further replies.

Mattallan

Technical User
Mar 6, 2003
3
US
I installed apache the other day and it was working perfectly people outside my network could see it. But when i tried to get on the internet on one of my other computers on the network i couldn't i found out this was because DHCP had been turned off. I turned that back on but now no one can see my website what do i need to do to get them both to work?
 
You need to set aside a range of ip addresses that dhcp has no control of. Then assign a static ip to the server. Now make sure that http (port 80) traffic is forwarded to the ip of your server.
 
You have a couple of choices. You could manually assign private IP adresses to all the computers and leave the DHCP function off. Or you could assign your server a static IP that is outside of the DHCP range and use the router's port forwading to point to that. For example, a Linksys BEFSR41 starts assigning IP addresses at 192.168.1.100 and allows 50 clients by default. With this scheme, your web server could be anything from 192.168.1.2 to 192.168.1.99 or 192.168.1.150 to 192.168.1.255
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top