Example setup:
- Cable modem - gets everything from cable provider, supplies an outside IP address to one device, should be plugged into the WAN side of a router.
- Router - gets an outside IP address from modem plugged into the WAN port. Serves up DHCP to other computers or devices via Cat 5 cable or wirelessly. LAN ports should be connected to wired devices.
- Main Computer - connected to LAN port of router. This computer should have access to anything on the internet and local intranet too.
- Server - spare computer serving up website (via WAMP) on port 80. Also connected to LAN port of router, it should be accessible from local intranet until router is configured to port forward.
Networking:
- Cable modem should require no configuration. Sample IP (176.215.64.115) passes this IP to the Router WAN.
- Server example IP address (192.168.1.101)
- Router requires "port forwarding" to pass traffic to the Server. Forward WAN (176.215.64.115) port 80 to LAN (192.168.1.101) port 80. Save configuration and reboot.
- At this time, Main Computer (192.168.1.100) should be able to access the website by typing 192.168.1.101 into a browser. Additionally, it should be accessible by typing 176.215.64.115:80 in a browser as well as long as the router is forwarding the port. If all goes well, the user can share the outside IP address and it should work from anywhere on the internet. ***
***You can also use No-ip.com or Dyndns.com to use/make an address they offer such as
mywebsite.ignorelist.com This isn't a necessary step, but it does make it easier to share with friends.
No comments:
Post a Comment