Control Web Panel

Other => Other => Topic started by: milo on July 27, 2024, 02:22:50 PM

Title: phpmyadmin userpanel
Post by: milo on July 27, 2024, 02:22:50 PM
Hi, i need to change the port that phpMyAdmin opens, from 2087 to 8443. I figure out how to do it
for Root panel but when i am login in client panel and click on PhpMyAdmin it redirects me to 2087 port.
How can i change that too ?
Title: Re: phpmyadmin userpanel
Post by: overseer on July 27, 2024, 03:43:50 PM
I changed the CWP Admin panel to run on an alternate port, with the CSF firewall closing ports 2031 and 2087. Both my admin panel and specifically phpMyAdmin are accessible via that alternate port.
https://azdigi.com/blog/en/webserver-panel-en/centos-web-panel-en/how-to-change-the-port-on-centos-web-panel-cwp/ (https://azdigi.com/blog/en/webserver-panel-en/centos-web-panel-en/how-to-change-the-port-on-centos-web-panel-cwp/)
Title: Re: phpmyadmin userpanel
Post by: milo on July 27, 2024, 06:29:52 PM
Yes this is possile and it's working. But in client panel (the panel that our customer have) when
we click in PhpMyAdmin button it still redirect it in 2087 port
Title: Re: phpmyadmin userpanel
Post by: overseer on July 27, 2024, 08:59:52 PM
Look at WebServer Settings > Apache Redirects
Title: Re: phpmyadmin userpanel
Post by: milo on July 28, 2024, 08:17:00 AM
i have tried this. nothing  :)
Title: Re: phpmyadmin userpanel
Post by: Starburst on July 28, 2024, 11:42:10 PM
Look at your config at:
Code: [Select]
nano /etc/apache2/conf-enabled/phpmyadmin.conf