this post was submitted on 24 Apr 2024
14 points (100.0% liked)

Selfhosted

38773 readers
379 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi So, I've had openvpn running on a raspberry pi for over a year with no problems. After some braining I concluded that I also should run pihole on the same raspberry pi. After all it's "just a DNS resolver". Both are running great together on the raspberry. But, I can't administer openvpn because they both use "/admin", and because I installed pihole last, well I can now only administer pihole. So, how do I make one of them use something like "/admin2" ?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] sleepybear@lemmy.myspamtrap.com 2 points 3 months ago* (last edited 3 months ago) (1 children)

One way is to run Pi-hole’s admin interface on a different port. That’s configured in:

/etc/lighttpd/external.conf

Set:

server.port := 8000

Then your URL is http://IP:8000/admin

[–] UncleStewart@sh.itjust.works 1 points 3 months ago* (last edited 3 months ago)

Thanks for answering. Will try this later tonight.

Edit: No file with that name there. Only a "lighttpd.conf"