# PiHole and PIAware

**URL:** https://discourse.pi-hole.net/t/pihole-and-piaware/30085
**Category:** Customizing Pi-hole
**Created:** [April 2, 2020, 8:32pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085 "2020-04-02T20:32:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![cmrt](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@cmrt](https://discourse.pi-hole.net/u/cmrt)
#### Post date: [April 2, 2020, 8:32pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/1 "2020-04-02T20:32:01Z")

</div>

Hi,

I figured out a (relatively simple) way to get PIHole and PiAware to work on the same box.  
This was an issue that came up in this discussion [Pi-hole and piaware - lighttpd?](https://discourse.pi-hole.net/t/pi-hole-and-piaware-lighttpd/9611) but that's closed, and I can't reply ☹

Simply create a new config file in `/etc/lighttpd/conf-available/` called `87-dump1090-fa-documentroot.conf` and set its contents to:

```auto
server.modules += ("mod_alias")

$SERVER["socket"] == "[::]:8080" {
  server.document-root = "/usr/share/dump1090-fa/html"
}

```

Create a symlink to this config file in `/etc/lighttpd/conf-enabled/` with this command:

```auto
ln -s /etc/lighttpd/conf-available/87-dump1090-fa-documentroot.conf /etc/lighttpd/conf-enabled/87-dump1090-fa-documentroot.conf

```

then restart lighttpd (`systemctl restart lighttpd`) and enjoy your PiAware SkyView on port 8080 🙂

**Note** this seems to be a bug in PiAware's way of creating the lighttpd files - they don't set the documentroot in a config file, nor they ensure that the alias module is enabled. I want to report it to them, but right now GitHub is having some issues. I'll do it tomorrow, provided I don't forget.

---

<div class="post-metadata">

### Author: ![cmrt](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@cmrt](https://discourse.pi-hole.net/u/cmrt)
#### Post date: [April 2, 2020, 8:41pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/2 "2020-04-02T20:41:09Z")

</div>

@SoNic67 and @DanSchaper FYI, because you spent quite some time debugging this in the original post 🙂  
Happy PiAwareing!

---

<div class="post-metadata">

### Author: ![Jaykay](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jaykay/32/15845_2.png) [@Jaykay](https://discourse.pi-hole.net/u/Jaykay)
#### Post date: [May 23, 2020, 11:12am UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/3 "2020-05-23T11:12:39Z")

</div>

You are a bloody legend.

My Pi is located 2000km away from me on a remote island.

I thought I had broken my precious PiAware setup by installing PiHole.

I thought I had to wipe the SD and reinstall PiAware. Given the Coronavirus lockdown, this was going to be impossible.

Your approach has been a miracle.

Thank you very much

---

<div class="post-metadata">

### Author: ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)
#### Post date: [June 12, 2020, 7:06pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/4 "2020-06-12T19:06:43Z")

</div>

A post was split to a new topic: [Pi-Aware problems](https://discourse.pi-hole.net/t/pi-aware-problems/34367)

---

<div class="post-metadata">

### Author: ![robertreid](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/robertreid/32/16936_2.png) [@robertreid](https://discourse.pi-hole.net/u/robertreid)
#### Post date: [June 26, 2020, 6:39pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/5 "2020-06-26T18:39:38Z")

</div>

Thank you!

---

<div class="post-metadata">

### Author: ![Kwizatz](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kwizatz](https://discourse.pi-hole.net/u/Kwizatz)
#### Post date: [May 20, 2021, 2:15pm UTC](https://discourse.pi-hole.net/t/pihole-and-piaware/30085/6 "2021-05-20T14:15:50Z")

</div>

Wowwwww!!!  
Great help dude!!

Thank you so much!!
