Lack of access to phpmyadmin from outside the cPanel

behinam

Well-Known Member
May 9, 2017
71
5
8
Dubay
cPanel Access Level
Root Administrator
I do not want to open phpmyadmin from outside the cPanel with the site address, like domain.com/phpmyadmin.
I just want the user to be able to open it from inside the control panel (phpmyadmin option) but not from outside.
Is it possible?
 

ZenHostingTravis

Well-Known Member
PartnerNOC
May 22, 2020
262
87
28
Australia
cPanel Access Level
Root Administrator

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
5,445
697
313
cPanel Access Level
Root Administrator
Hey there! I believe what you're looking for is the default behavior of cPanel systems. Normally there is no redirection in place for domain.com/phpmyadmin, so that URL would not access the PHPMyAdmin interface in cPanel. This is the URL that admins use when they want to provide access to a separate installation of PHPMyAdmin that is outside of cPanel, but on a freshly installed server, domain.com/phpmyadmin provides a 404 page.

Are you seeing different behavior on your end?