I'm trying to configure Apache to serve some intranet pages. Access to the intranet is made using SSH tunneling. Using the tunnel, I would like to access http://intranet.boss and expect those pages, but instead I get "connection refused" in Firefox.
<VirtualHost 127.0.0.1:80> DocumentRoot /var/www/boss ServerName intranet.boss
Something like this.
I needed to add
127.0.0.1 intranet.boss to /etc/hosts file.