Page 1 of 1

How to change PHPMYADMIN URL?

Posted: Wed Mar 22, 2017 4:55 am
by NewVestaGuy
1)For security reason, i try to change the URL of PHPMYADMIN and
couldn't figure out how.
Can someone help me?

2)BTW, how to change the Vesta control panel to something hidden? the default (ip:8083) seems unsecured to me...

3)Any additional setup recommanded for my setup?
and why Vestacp doesn't include cache like memcached and tweaked settings like other scripts? (i love the panel
and ease of use, but think Vesta will be perfect with points above)

Re: How to change PHPMYADMIN URL?

Posted: Thu Mar 23, 2017 3:20 pm
by skurudo
NewVestaGuy wrote:1)For security reason, i try to change the URL of PHPMYADMIN and
couldn't figure out how. Can someone help me?
I'm sure this guide can:
viewtopic.php?t=5271
NewVestaGuy wrote:2)BTW, how to change the Vesta control panel to something hidden? the default (ip:8083) seems unsecured to me...
How so?
Anyway, you can change this port -> /usr/local/vesta/nginx/conf/nginx.conf

Code: Select all

    # Vhost
    server {
        listen          8083; #there is port
        server_name     _;
NewVestaGuy wrote:3)Any additional setup recommanded for my setup? and why Vestacp doesn't include cache like memcached and tweaked settings like other scripts? (i love the panel and ease of use, but think Vesta will be perfect with points above)
Yea, we're rich with ideas too and so poorly with time ;-)

Re: How to change PHPMYADMIN URL?

Posted: Thu Mar 23, 2017 7:10 pm
by NewVestaGuy
skurudo wrote: I'm sure this guide can:
viewtopic.php?t=5271
thank you for the guide, but its for Apache and im using Nginx

Re: How to change PHPMYADMIN URL?

Posted: Thu Mar 23, 2017 8:28 pm
by skurudo
NewVestaGuy wrote: thank you for the guide, but its for Apache and im using Nginx
How can I possible know this? ;-)
nginx + php-fpm?

Re: How to change PHPMYADMIN URL?

Posted: Thu Mar 23, 2017 11:55 pm
by NewVestaGuy
skurudo wrote:
NewVestaGuy wrote: thank you for the guide, but its for Apache and im using Nginx
How can I possible know this? ;-)
nginx + php-fpm?
yes

Re: How to change PHPMYADMIN URL?

Posted: Sun Apr 16, 2017 3:44 pm
by rhyker2u

Re: How to change PHPMYADMIN URL?

Posted: Tue Apr 18, 2017 9:12 am
by skurudo
NewVestaGuy wrote:1)For security reason, i try to change the URL of PHPMYADMIN and
couldn't figure out how. Can someone help me?
/etc/nginx/conf.d/phpmyadmin.inc

you need make changes in this url:

Code: Select all

location /phpmyadmin {
to (for example)

Code: Select all

location /mysuperadmin {
and restart nginx service

/etc/apache2/conf.d/phpmyadmin.conf

Code: Select all

Alias /phpmyadmin /usr/share/phpmyadmin
to (for example)

Code: Select all

Alias /mysuperadmin  /usr/share/phpmyadmin
and restart apache2 service