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:22] – wikiadmin | installing_pi_hole_linux_ubuntu_version_24_04 [2026/08/17 21:05] (current) – wikiadmin | ||
|---|---|---|---|
| Line 155: | Line 155: | ||
| Force Pi-hole v6 to immediately use port 8080 via the official Command Line Interface (CLI) tool: | 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.2.152 server: | + | Run this terminal command on your 192.168.1.152 server: |
| < | < | ||
| Line 169: | Line 169: | ||
| </ | </ | ||
| + | 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.1786998158.txt.gz · Last modified: 2026/08/17 20:22 by wikiadmin
