Sentora Support Forums
move phpmyadmin folder - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: move phpmyadmin folder (/showthread.php?tid=4384)



move phpmyadmin folder - CMs222 - 02-26-2018

I'm New to this, so pls be patient Wink
I was wondering if this would be OK

1. Create a subdomain. mysql.mydomain.tld (secure it with https Lets Encrypt)
2. Move the contents of the folder /etc/sentora/panel/etc/apps/phpmyadmin
to the above subdomain.

Is this a security risk as people can access 
https://panel.mydomain.tld/etc/apps/phpmyadmin/  anyway ???

ALSO: same with RoundCube folder to webmail. Subdomain ??


RE: move phpmyadmin folder - Me.B - 02-27-2018

Yep you can do and setup a .htaccess redirection to the new URL.

But notice it will be for one URL then not every domain otherwise you will custom setup in vhosts.

M B


RE: move phpmyadmin folder - CMs222 - 02-27-2018

(02-27-2018, 12:05 AM)Me.B Wrote: Yep you can do and setup a .htaccess redirection to the new URL.

But notice it will be for one URL then not every domain otherwise you will custom setup in vhosts.

M B

what do i put in .htaccess ?
and do i place that in the original folder ?