- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
What’s the best way to setup phpMyAdmin with a dynamic IP? I keep getting locked out and it has become annoying!
Can you elaborate little bit?
Where, how are you setting this up?
Can you set up a static IP?
Basically, right now, I have it set to my current IP however, when it changes I have to go into the phpMyAdmin.conf file and change the IP every time I get locked out, restart Apache and then I’m good. But that’s incredibly annoying.
phpMyAdmin.conf:
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip MY_IP
Require ip ::1
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from MY_IP
Allow from ::1
</IfModule>
</Directory>
@BenWalker The only problem with the password protected directory is that it’s not as secure as requiring a specific IP. I was hoping I could, in some way, auto update the phpMyAdmin.conf file with my current IP.
( @chrisburton ) Hello Chris,
Could you create VPN (Virtual Private Network) on your server network?
James Burton
Could you create VPN (Virtual Private Network) on your server network? – @JamesBurton
I could. I’ve never dealt with VPN’s before, however.