installing_pi_hole_linux_ubuntu_version_24_04
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| installing_pi_hole_linux_ubuntu_version_24_04 [2026/08/17 20:13] – wikiadmin | installing_pi_hole_linux_ubuntu_version_24_04 [2026/08/17 21:05] (current) – wikiadmin | ||
|---|---|---|---|
| Line 153: | Line 153: | ||
| </ | </ | ||
| + | Force Pi-hole v6 to immediately use port 8080 via the official Command Line Interface (CLI) tool: | ||
| + | Run this terminal command on your 192.168.1.152 server: | ||
| + | < | ||
| + | sudo pihole-FTL --config webserver.port " | ||
| + | </ | ||
| + | |||
| + | Use code with caution. | ||
| + | |||
| + | Restart the core engine to force-bind the new ports: | ||
| + | |||
| + | < | ||
| + | sudo systemctl restart pihole-FTL | ||
| + | </ | ||
| + | |||
| + | Check status and Open the Uncomplicated firewall port 8080 if necessary | ||
| + | |||
| + | < | ||
| + | sudo ufw status | ||
| + | sudo ufw open 8080/tcp | ||
| + | </ | ||
| + | |||
| + | Here is exactly how to configure Pi-hole and Apache to make this work. | ||
| + | |||
| + | Step 1: Add Local DNS Records in Pi-hole. | ||
| + | |||
| + | |||
| + | You must tell Pi-hole to intercept the public domains and resolve them to your internal server IPs instead of the public WAN IP. | ||
| + | |||
| + | |||
| + | Log into your Pi-hole admin dashboard (http:// | ||
| + | |||
| + | |||
| + | Navigate to Local DNS > DNS Records on the sidebar. | ||
| + | |||
| + | |||
| + | Add the following three records: | ||
| + | |||
| + | |||
| + | Domain IP Address Description | ||
| + | |||
| + | < | ||
| + | sunsky.cloud 192.168.1.152 | ||
| + | onlyoffice.sunsky.cloud 192.168.1.152 Points 1st OnlyOffice to the Apache server | ||
| + | officepkg.com 192.168.1.152 Crucial: Points to Apache first, not .156 | ||
| + | </ | ||
| + | |||
| + | |||
| + | Note on officepkg.com: | ||
installing_pi_hole_linux_ubuntu_version_24_04.1786997639.txt.gz · Last modified: 2026/08/17 20:13 by wikiadmin
