Last time when I want to set home network, I spent 3-4 days to figure out how to do it. I referred to dslwebserver. It is a very good source. However I couldnt manage to setup successfully. So here is how I did my setup.
My Requirement : Simple, Iwant to run webserver in my home.
My Hardware : I have ADSL2+ modem, a wireless router and couple of laptops and computers.
My Network : Phone line —> Modem –> Wireless router –> PC’c

- Home Webserver setup
How to configure :
- Turn DHCP off in Modem (My Modem IP address – 10.1.1.1)
- Configure WAN Setting in wireless router
IP Address – 10.1.1.2 (This is to tell Modem that this is a static IP Address used by Wireless router)
Subnet Mask – 255.255.255.0
WAN IP – 10.1.1.1
- Configure LAN Setting in Wireless router
Assign the IP addrees in Wireless router to 10.1.1.3
DHCP Server on (My DHCP range is 10.1.1.5 to 10.1.1.14 , assign DHCP servers to the number of devices I had , just an extra security
)
- Go to the computer you want to setup as WebServer , turn off the dhcp client and set a static ip address (for e.g, 10.1.1.50 it should out of the DHCP range ), You can find on internet how to assign a static IP address for your operating system.
- And then configure your firewall rules in both modem and wireless router.
- Firewall rules in Modem will forward all requests for e.g., post 80 requests to ip address 10.1.1.2. This is your wireless router’ IP Address. The requests are forwarded to your wireless router. Your wireless router has firewall as well. You need to enable post 80 in wireless router and forward to your PC . Thisis ths tatic ip address you assigned to the PC that is running webserver i.e., 10.1.1.50.
Great post, but it doesn’t really to work together with my router ip, any hints?