Join the community today
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

    4
    0
    1
    Jun 20, 2019
    Ratings:
    +0
    Local Time:
    7:45 AM
    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
    Hi,

    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
    DNS_PROBE_FINISHED_NXDOMAIN

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

    https://xxxx.server.ua/xxxx_mysqladminxxxx

    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

    45,461
    10,315
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,000
    Local Time:
    5:45 PM
    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