The issue I am facing:
I have pi.hole running on a tld that I have mapped using the internal DNS server: pihole.mytld.com
I am running a number of subdomains on the server hosted through apache and so am using apache (and using a self-signed SSL certificate) rather that lighttpd.
I can connect to pi.hole and pihole.mytld.com fine.
But:
-
I can only see the dashboard graphs when I connect to pihole via pi.hole. The hostname given as 'ubuntu'.
-
I cannot login to pi.hole/admin - it says my password is not recognised,
-
I cannot see the dashboard graphs on pihole.mytld.com (but the rest of the interface is fine). The hostname is given as the hostname set for 127.0.0.1 in my hosts file.
-
I can login to pihole.mytld.com/admin using my password.
Does anybody know what is causing this behaviour? I don't really care about pi.hole but I would like the frontend working correctly through pihole.mytld.com
Details about my system:
Ubuntu + Apache
<VirtualHost 10.10.1.183:443>
ServerName pihole.mytld.com
DocumentRoot /var/www/html/admin
<Directory /var/www/html/admin>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
I have also tried via a non-SSL collection on port 80. Same thing.
What I have changed since installing Pi-hole:
Nothing