How can make a web server publicly accessible?

To make your server visible from outside your LAN, you will need the following:

  • Setup NAT on your router to point port 80 to the web server (or the port your web server listens to). In your case you should point that port to the server IP 192.168.1.50.
  • You could also use any service like DynDNS to access your webserver without having to know your public IP address. This is very usefull if your IP is dynamic and changes from time to time (or when you reboot your router).

With this changes, you should be able to access your local web server from the internet.