When trying to install Nginx or Varnish

Regardless which I use (Nginx or Varnish, I use one or the other, never both), running them as a proxy (port 80) with Apache (port 8008, opened in iptables and all vhosts changed). All config files have Apache2 as backend, but I get "404, Not Found" errors.