I've been trying to get lighttpd or apache2 (I prefer lighttpd) to work behind a proxy but no luck so far.
What I want is to run lighttpd (or port 80) behind a proxy, so that when someone goes to some.website.com, and the DNS for that domain is pointed to the IP address of the proxy server, they end up on my http server's page.
This would allow me to use the server's resources, while keeping it's IP address hidden.
Unfortunately, using the
proxychains program did not work. For lighttpd it gave the error
getaddrinfo failed: Unknown error ' ::' and
proxychains apache2 start started just fine, but it didn't seem to do anything. I did test if the proxychains program itself worked, and it used the proxy just fine using curl on a what-is-my-ip type of website.
If you're wondering; I am temporarily using a homeserver, and I don't want to make my IP address public.
Any ideas? Both a HTTPS proxy (squid) or a SOCKS5 (dante) proxy will do just fine.