- Move WordPress to the root:
- Ensure all WordPress files are in
/var/www/html
.
- Update Apache VirtualHost:
- Change the
DocumentRoot
to /var/www/html
.
- Update WordPress URL:
- In WordPress settings, set both “WordPress Address” and “Site Address” to
https://machinename.local
.
- Restart Apache:
- Restart Apache with
sudo service apache2 restart
.
Now, machinename.local
should load your WordPress site. After confirming, set up Dynu for redirection to your Raspberry Pi’s static IP. ,