Open Up the File
sudo nano /etc/apache2/conf-available/phpmyadmin.conf
Add after the line
Directory /usr/share/phpmyadmin
Order Deny,Allow
Deny from All
Allow from 139.5.228.255
====================================
IF you want multiple IP address Please use the below.
Add after the line
Directory /usr/share/phpmyadmin
Order Deny,Allow
Deny from All
Allow from 139.5.228.255, 139.5.228.225, 139.5.228.226
====================================================
0 Comments