Live webserver and security

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Posts: 10
Joined: Sun Aug 18, 2019 12:56 pm

Live webserver and security

Post by Darron »

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.

Code: Select all

<Directory /var/www/phpmyadmin/>
    Order Deny,Allow
    Deny from All
    Allow from
    Allow from
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?

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.
Post Reply