Migrating Pi-Hole from lighttpd to apache

It has been a long time ago since I installed Apache, but the thing is that I already installed it on the Pi before installing pi-hole. I remember that installing Apache was just a standard default install.

  • sudo apt-get install apache2
    I also installed php5 (but only needed if you use php in webpages)
  • sudo apt-get install php5
    Apache uses /var/www/html as default location for your webpages.
    Since pi-hole gets installed in the same directory (in sub-directory pihole), there is nothing extra to be done to use the apache server except from starting it: sudo service apache2 starrt

In the webbrowser I request webpage:
'http://xbian/admin/index.php
or you can use the pi ip-address instead of 'xbian' in the URL.

1 Like