# Implement auto-redirection to /admin

**URL:** <https://discourse.pi-hole.net/t/implement-auto-redirection-to-admin/77370>\
**Category:** Feature Requests\
**Created:** [March 2, 2025, 11:39pm UTC](https://discourse.pi-hole.net/t/implement-auto-redirection-to-admin/77370 "2025-03-02T23:39:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 3, 2025, 8:27am UTC](https://discourse.pi-hole.net/t/implement-auto-redirection-to-admin/77370/2 "2025-03-03T08:27:21Z")

</div>

If your domain is what you set as `webserver.domain` in `pihole.toml` (or env vars in a docker container), we already have an automatic redirection `/` -\> `/admin/`, however, if your domain is different, we _intentionally_ don't do this.  
The reason is that some users use `IP` blocking mode which replies to your clients with the IP address of your Pi-hole when a page is blocked. If the auto-redirect would fire here, too, you'd see your Pi-hole's dashboard (or the login page if you have a password) in many places on websites where you'd normally have seen the ads. This doesn't seem desired behavior.

But maybe this is an issue with your reverse proxy, please tell us more about your particular configuration:

- Have you tried setting `webserver.domain` ?
- Are you hosting Pi-hole's dashboard on an IP address, a subdomain or maybe a path?
- ... (more interesting points about your reverse proxy setup)

---

_[View the full topic](https://discourse.pi-hole.net/t/implement-auto-redirection-to-admin/77370)._
