Learn about Centmin Mod LEMP Stack today
Register Now

Problem phpmyadmin web

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

  1. fullclick

    fullclick New Member

    11
    2
    3
    Jun 24, 2021
    CASINO ONLINE UY TÍN 247
    Ratings:
    +3
    Local Time:
    10:42 AM
    1.21
    10.3
    i installed phpmyadmin
    information login:
    cbey.io/9698_mysqladmin6303 (It not phpmyadmin login page)
    cbey.io is hostname at the first time when i installed centminmod

    i tried my ip VPS: xxx.xxx.xxx/9698_mysqladmin6303 but it always redirect to cbey.io/9698_mysqladmin6303

    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

    55,445
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,841
    Local Time:
    1:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 centmin.sh 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/yourdomain.com.conf or /usr/local/nginx/conf/conf.d/yourdomain.com.ssl.conf 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 'yourdomain.com' /usr/local/nginx/conf/conf.d
    

    Also check DNS is correct use dig to check DNS for domain
    Code (Text):
    dig +short A @8.8.8.8 yourdomain.com
    dig +short A @8.8.8.8 www.yourdomain.com
    dig +short A @8.8.8.8 hostname.yourdomain.com
    

    check HTTP headers via curl for both HTTP (and HTTPS if you have HTTPS/SSL)
    Code (Text):
    curl -I http://yourdomain.com
    curl -I http://www.yourdomain.com
    curl -I https://yourdomain.com
    curl -I https://www.yourdomain.com
    curl -I http://hostname.yourdomain.com