برای phpmyadmin میتونید این کارو انجام بدید

/etc/phpmyadmin/apache.conf


Order Deny, Allow
Deny from all
Allow from 127.0.0.1
Allow from all