# pihole and admin folder twice in var-directory

**URL:** https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877
**Category:** General Discussion
**Created:** [28 October 2021 19:14 UTC](https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877 "2021-10-28T19:14:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wmcig](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@wmcig](https://dietpi.com/forum/u/wmcig)
#### Post date: [28 October 2021 19:14 UTC](https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877/1 "2021-10-28T19:14:12Z")

</div>

Hi,

in the directory “/var/www” I saw the admin and pihole folders twice. Once in the root of “www” and also in the “html” subdirectory. Why?

And what should I note if I wanna install other software, like a website or cms? Maybe if they have also a folder which is called “admin”?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [29 October 2021 12:03 UTC](https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877/2 "2021-10-29T12:03:36Z")

</div>

Hi

basically folder admin + pihole are just symbolic links into folder /var/www/html. There are not duplicates. This is needed due to the way PiHole works.

if you require an additional web server application, you would create them into a separat sub folder like /var/www/app1 or /var/www/app2. On your browser you could simply open these web sides using [http://your.ip/app1](http://your.ip/app1) or [http://your.ip/app2](http://your.ip/app2)

---

<div class="post-metadata">

### Author: ![wmcig](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@wmcig](https://dietpi.com/forum/u/wmcig)
#### Post date: [29 October 2021 17:03 UTC](https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877/3 "2021-10-29T17:03:52Z")

</div>

> [@](#):
>
> Hi
> 
> basically folder admin + pihole are just symbolic links into folder /var/www/html. There are not duplicates. This is needed due to the way PiHole works.
> 
> if you require an additional web server application, you would create them into a separat sub folder like /var/www/app1 or /var/www/app2. On your browser you could simply open these web sides using [http://your.ip/app1](http://your.ip/app1) or [http://your.ip/app2](http://your.ip/app2)

Cool.

Should I use lighttpd or nginx?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [30 October 2021 09:23 UTC](https://dietpi.com/forum/t/pihole-and-admin-folder-twice-in-var-directory/5877/4 "2021-10-30T09:23:58Z")

</div>

you are already using PiHole? If yes, you already have a web server installed.
