Tech How to set up a proxy server with XAMPP on Windows.

Set up Apache

  1. Open your apache config file C:\xampp\apache\conf\httpd.conf. Make sure the following lines are uncommented:

      Include "conf/extra/httpd-proxy.conf"
      LoadModule proxy_module modules/
      LoadModule proxy_connect_module modules/
      LoadModule proxy_http_module modules/

  2. Open your proxy config file C:\xampp\apache\conf\extra\httpd-proxy.conf. Edit it to match the following:

      <IfModule proxy_module>
      <IfModule proxy_http_module> 
        ProxyRequests On
        ProxyVia On
        <Proxy *>
          Order deny,allow
          Allow from
  3. Restart Apache.

Update LAN settings.

  1. Open Internet Explorer and go to Tools » Internet Options.

  2. Switch to the Connections tab and open Local Area Network (LAN) settings.

  3. Under Proxy Server, check the box that says "Use a proxy server for your LAN" and specify the address and the port of your apache web server (for example, port 80).

That's it! Now, when you go to, you will get a website-blocked message.