# Redirect / to /admin

**URL:** <https://discourse.pi-hole.net/t/redirect-to-admin/44103>\
**Category:** docker\
**Created:** [February 7, 2021, 7:02pm UTC](https://discourse.pi-hole.net/t/redirect-to-admin/44103 "2021-02-07T19:02:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [February 13, 2021, 6:01pm UTC](https://discourse.pi-hole.net/t/redirect-to-admin/44103/5 "2021-02-13T18:01:32Z")

</div>

The current redirecting is a complex interplay between the blocking page (which is going to be obsoleted), a `lighttpd` config option and some PHP code in the AdminLTE package. In the future (the in-progress Pi-hole v6.0), things will become much easier to manage and I already added the requested feature here:

> <https://github.com/pi-hole/FTL/commit/01bb3bce23fa6009c1a7fd5130546f7ff14fed02>
>
> Signed-off-by: DL6ER \<dl6er@dl6er.de\>

This makes Pi-hole v6.0 having an option `WEBDOMAIN` which can be set to any domain. If this domain is called, the redirecting to `/admin` will happen.

---

_[View the full topic](https://discourse.pi-hole.net/t/redirect-to-admin/44103)._
