I currently have 3 websites on a dedicated server (running on one IP address).
For one of the sites, SSL is active on the server and phpMyAdmin runs fine. After you log in you are redirected to the correct location (
https://example.tld/phpmyadmin for example)
However, for the other two sites, I do not have an SSL certificate for them and so I am using CloudFlare's Flexible Universal SSL. My issue is on logging in to phpMyAdmin (by visting
https://example.tld/phpMyAdmin) phpMyAdmin redirects to port 80 e.g.
https://example.tld:80/phpMyAdmin and since the SSL no longer is secure (as Apache starts serving unencrypted data), the browser displays an error message saying the connection is not secure.
Any ideas as to how to stop phpMyAdmin redirecting to port 80?