I have set up pi-hole on my ubuntu server: Ubuntu 18.04.3 LTS (GNU/Linux 5.0.0-37-generic x86_64)
I have another server running on this machine, so I have changed the port from 80 to 81 and restarted the server so that the new port takes effect.
I cannot access the admin portal on both 192.168.0.11:81/admin nor pi.hole/admin
Expected Behaviour:
[Replace this text with what you think should be happening]
Web portal should be accessible
Actual Behaviour:
[replace this text with what is actually happening]
Cannot access web portal
Debug Token:
[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface] https://tricorder.pi-hole.net/4kbfiurj1m
*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 302 Found
Date: Wed, 29 Jan 2020 03:37:43 GMT
Server: Apache/2.4.29 (Ubuntu)
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: IE=edge
Vary: Origin,Accept,Accept-Encoding
Access-Control-Allow-Credentials: true
Content-Language: en
Location: /login
Content-Type: text/plain; charset=utf-8
Content-Length: 28
[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 301 Moved Permanently
Date: Wed, 29 Jan 2020 03:37:43 GMT
Server: Apache/2.4.29 (Ubuntu)
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: IE=edge
Vary: Origin,Accept,Accept-Encoding
Access-Control-Allow-Credentials: true
Location: /admin
Content-Type: text/plain; charset=utf-8
Content-Length: 40
Run this command to see which servers are on which ports: