Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How to disable public access to domain.com/phpmyadmin

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
popat
Posts: 1
Joined: Sat May 31, 2014 10:45 pm

How to disable public access to domain.com/phpmyadmin
  • Quote

Post by popat » Mon Jun 02, 2014 11:51 am

Hello, I have zero knowledge about programming, hosting, server etc. so please help me for this questioin:

When I open any website with this web address: domain.com/phpmyadmin at that time this phpmyadmin login page appears, this means anyone on internet can open phpmyadmin login page via any domain listed on my vestacp. How can I disable OR How can I stop displaying this to everyone/public.

Thank you in advance.
Top

alexcy
Posts: 256
Joined: Sun Jun 01, 2014 11:24 pm
Contact:
Contact alexcy
Website

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: How to disable public access to domain.com/phpmyadmin
  • Quote

Post by alexcy » Wed Jun 04, 2014 12:21 am

May not answer your question completely, but what I have done was to get a free SSL certificate from startssl.com for my primary domain, and then set phpmyadmin to listen to port 443 only. Since it was the only domain with SSL on that IP, it was only accessible through that domain.

You can do this without an SSL certificate. However, your users are going to get warnings from their browser. If you are the only one to be using phpmyadmin, I guess that this is not an issue.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: How to disable public access to domain.com/phpmyadmin
  • Quote

Post by imperio » Tue Jun 24, 2014 5:39 pm

Hello,
When I open any website with this web address: domain.com/phpmyadmin at that time this phpmyadmin login page appears, this means anyone on internet can open phpmyadmin login page via any domain listed on my vestacp. How can I disable OR How can I stop displaying this to everyone/public.
You can use .htaccess file for deny access to phpmyadmin or phpmyadmin.conf
Top

sauvegardezvous99
Posts: 25
Joined: Mon Nov 24, 2014 11:48 pm

Re: How to disable public access to domain.com/phpmyadmin
  • Quote

Post by sauvegardezvous99 » Tue Dec 02, 2014 2:20 am

imperio wrote:Hello,
When I open any website with this web address: domain.com/phpmyadmin at that time this phpmyadmin login page appears, this means anyone on internet can open phpmyadmin login page via any domain listed on my vestacp. How can I disable OR How can I stop displaying this to everyone/public.
You can use .htaccess file for deny access to phpmyadmin or phpmyadmin.conf

In next release, it would be nice to get a file log editor for any .conf file, like /etc/aliases, /etc/php.ini, /etc/xxx
inside vestacp like directadmin.
thank you,
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password