Hi all. I’ve got my own little web server up and running, I’ve secured /phpmyadmin from external access by editing dietpi-phpmyadmin.conf in the /etc/apache2/site-enabled directory.
<Directory /var/www/phpmyadmin/>
Order Deny,Allow
Deny from All
Allow from 192.168.0.10
Allow from 192.168.0.11
</Directory>
I’d like to take it a little further by obscuring the phpmyadmin folder too, only I have no idea how to do that.
So how do I change the /var/www/phpmyadmin to /var/www/something completely different without breaking PHPMyAdmin?
TIA
Also ANY thoughts on further server hardening would be REALLY appreciated as it’s also hosting my nextcloud server.
Yes I only have port 443 and 80 open, so that’s done. Of course if that was enough, then hackers really would struggle to er hack.