Installing Pi-hole on Existing Apache Server

Thank you, this was helpful! Just wanted to add two things in case it helps someone else.

  • If you have Apache but not PHP yet, run sudo apt install php libapache2-mod-php.
  • On a fresh install of Pi-hole v5.3.1 the group membership was already setup (edit: but that's probably because I installed lighttpd).