So, didn’t see any instructions no how to do this so figured I’d contribute.
Recently set up a Pi2 with piaware. Wanted to be able to give a link to friends to be able to view it’s interface. Saw multiple posts and sites claim to have info to do it. But they didn’t work.
If you have a website that is hosted at your house with Apache, perhaps www.example.com, and you want to access your piaware page. Add this to your site config:
This is what I’ve been using for a while… with dump1090-mutability and lighttpd on the PiAware box. This lets you link to the Pi running PiAware using your.site.com/adsb If you don’t want that, then omit the ProxyPass for /adsb/ below and use the normal dump1090 URL instead. So then, this sends anything with /adsb/ or /dump1090/ over to lighttpd port 80 on the PiAware box. Note the trailing /'s. Of course you need to subsitute the IP address of your PiAware for 192.168.1.nn.
ProxyRequests Off
<Proxy * >
Order deny,allow
Allow from all