- Configure the web server to listen on the external network interface (Apache is often configured only to listen on the local host by default).
- Open port 80 for incoming connections to the firewall on your computer.
- If you want people outside your LAN to be able to access your server, enable port forwarding in the router / gateway so that port 80 is redirected to your computer.
- If you use DHCP on your network, configure your DHCP server each time so that the same address (for example, the MAC address) points to your computer.
Emil VikstrΓΆm
source share