Welcome to Centmin Mod Community
Register Now

phpmyadmin.sh installed phpmyadmin redirect/won't load

Discussion in 'Add Ons' started by ZenoX, Jun 22, 2019.

  1. ZenoX

    ZenoX New Member

    Jun 20, 2019
    Local Time:
    5:10 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.3
    • PHP Version Installed: 5.4.45
    • MariaDB MySQL Version Installed: 10.0
    • When was last time updated Centmin Mod code base ? Today

    I just followed the guide to install phpmyadmin.sh. It was installed correctly, the problem is the WEB url that is provided is showing my VPS's host address which when i visit it gives the error:

    This site can’t be reached

    Below is the WEB url that is given with the specific numbers removed:


    If i use the server IP that i was given for the VPS, it also redirects to the above URL.

    Any help you can offer would be great!

    Kind regards,

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:10 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    For phpmyadmin install you can use the phpmyadmin.sh addon outlined here and discussed here.

    If you have some issues, a few things to try for troubleshooting phpmyadmin installs via phpmyadmin.sh addon
    • If you upgraded PHP after you installed phpmyadmin addon, try clearing browser cache and restarting nginx and php-fpm
    • Check nginx error and access log - FAQ item 19 and Config Files page for overview.
    • Ensure you have a valid DNS for the main hostname pointing to your server's IP address
    • Ensure main hostname is setup as per step 1 of Getting Started Guide where main hostname is not the same as a site's nginx vhost domain name. They have to be different as outlined in the difference and summary of Getting Started Guide.
      This allows the main hostname vhost to house all the PHP and nginx statistic pages and phpmyadmin urls.
    • So ensure the server_name listed in main hostname vhost at /usr/local/nginx/conf/conf.d/virtual.conf isn't referenced in other nginx domain vhost files.
    Post contents of these files wrapped in BBCODE CODE tags
    • /usr/local/nginx/conf/conf.d/virtual.conf
    • /usr/local/nginx/conf/conf.d/phpmyadmin_ssl.conf
    • /usr/local/nginx/conf/phpmyadmin.conf