Join the community today
Become a Member

Problem phpmyadmin web

Discussion in 'Install & Upgrades or Pre-Install Questions' started by fullclick, Aug 12, 2021.

  1. fullclick

    fullclick New Member

    Jun 24, 2021
    Web Thể Thao 247 - Soi Kèo Bóng
    Local Time:
    7:20 AM
    i installed phpmyadmin
    information login: (It not phpmyadmin login page) is hostname at the first time when i installed centminmod

    i tried my ip VPS: but it always redirect to

    How to fix it? Changed domain or make it no redirect from ip to domain...

    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.21
    • PHP Version Installed: 7.4
    • MariaDB MySQL Version Installed: i.e. 10.3
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    10:20 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    When you install Centmin Mod it's setup a main hostname nginx vhost host for server which is where Nginx default install index page is shown. Accessing server via IP address will show that page and it's correct and should be left as is as the main hostname site is also used for statistics pages outlined here. When you create a new Nginx vhost site via menu option 2, 22 or nv commands, you have a separate Nginx vhost directory structure. The differences are outlined on official Config file page and at Getting Started Guide step 1 and bottom of that page here.
    What does your /usr/local/nginx/conf/conf.d/virtual.conf and /usr/local/nginx/conf/conf.d/ or /usr/local/nginx/conf/conf.d/ contents look like ? Make sure virtual.conf main hostname's server_name isn't same as any added nginx vhost site's domain name as per Getting Started Guide step 1, the main hostname needs to be unique.

    You can check via recursive grep filter of your domain name in vhost directory at /usr/local/nginx/conf/conf.d
    Code (Text):
    grep -rnw '' /usr/local/nginx/conf/conf.d

    Also check DNS is correct use dig to check DNS for domain
    Code (Text):
    dig +short A @
    dig +short A @
    dig +short A @

    check HTTP headers via curl for both HTTP (and HTTPS if you have HTTPS/SSL)
    Code (Text):
    curl -I
    curl -I
    curl -I
    curl -I
    curl -I