Ips Blocking

Is it blocking your personal (Home/Office) IP? Check in the CSF Firewall that it's not been blocked. Add your IP to csf.allow and csf.ignore if you trust it 100% to prevent it being blocked in future.

If you connect via IPv6 as I do also, add the /56 or /64 block to those files as well so that your IPv6 is allowed too

Another thing to check is that you haven't got Mod Security enabled. If you have, check the logs and see what's triggering the 406. Consider disabling it while you access phpMyAdmin and reenabling it after, or disabling the rules temporarily.

Also check in Custombuild options that you've allowed phpMyAdmin from the WWW. By default it should only allow you to access it via localhost with the panel.

Enable that in custombuild or use the CLI:
Bash:
da build phpmyadmin_public yes
da build phpmyadmin

Docs are here:

Personally, if you don't need to use phpMyAdmin outside of the panel, I wouldn't as its another attack surface. Consider enabling SSO and using it via localhost.
 
Last edited:
A 406 error is most likely a modsecurity error. Multiple requests will get you blocked indeed. Check the modsec logs too.
 
Back
Top