Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   a thing i don't understand..
Date:   2007-06-06 01:56:38
From:   AminNegmAwad
Response to: a thing i don't understand..

You stated the obvious. ;-)


The IP# in your SysPrefs is the local IP# of your computer in the LAN. (Thounds of computers have excatly this IP# on their local network.) When you log into internet, your provider transmits a single WAN-IP# for your net, i.g. t"the router". Let's say 80.241.36.121.


When somebody tries to access your web-sites, this request is sent to the router with the WAN IP# 80.241.36.121. But there is no Apache running on your router, so he will get no response. You have to configure your router that way, that an access on the http-port (80) will be routed to the local computer with the local IP# 192.168.0.10. For this purpose the router has soe settings, usually labeled "routing", "virtual servers", "NAT" or something like this depends on the router.