i can't access phpmyadmin with other domains

mbi

Verified User
Joined
Oct 13, 2015
Messages
5
hello...
I have a server with centos 6.7 64bit os , nginx web server (php-fpm55) and DirectAdmin control panel (custombuild 2).
I want all domains hosted on server access to phpmyadmin.
Now phpmyadmin with IP opens, But with domain not opens
For example:
domain.com/phpmyadmin : 404 not found
Please help me about this.
Thank you... :rolleyes:
 
Hello,

Try and see whether or not it solve your issue:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build nginx
./build rewrite_confs
 
Thank you for your follow-up
This command does not resolve the issue :(
 
Do you have any custom gninx* templates in /usr/local/directadmin/data/templates/custom/ ?


What do you see with?

Code:
grep -c nginx/webapps  /usr/local/directadmin/data/templates/custom/nginx_server*.conf

Code:
grep -c nginx/webapps /usr/local/directadmin/data/templates/nginx_server*.conf

Code:
ls -la /etc/nginx/webapps*.conf
 
Yes, I have custom nginx templates.
But not edit them, They are default.

Code:
[root@server ~]# grep -c nginx/webapps  /usr/local/directadmin/data/templates/custom/nginx_server*.conf
/usr/local/directadmin/data/templates/custom/nginx_server.conf:1
/usr/local/directadmin/data/templates/custom/nginx_server_redirect.conf:0
/usr/local/directadmin/data/templates/custom/nginx_server_secure.conf:1
/usr/local/directadmin/data/templates/custom/nginx_server_secure_sub.conf:1
/usr/local/directadmin/data/templates/custom/nginx_server_sub.conf:1

[root@server ~]# grep -c nginx/webapps /usr/local/directadmin/data/templates/nginx_server*.conf
/usr/local/directadmin/data/templates/nginx_server.conf:1
/usr/local/directadmin/data/templates/nginx_server_redirect.conf:0
/usr/local/directadmin/data/templates/nginx_server_secure.conf:1
/usr/local/directadmin/data/templates/nginx_server_secure_sub.conf:1
/usr/local/directadmin/data/templates/nginx_server_sub.conf:1

[root@server ~]# ls -la /etc/nginx/webapps*.conf
-rw-r--r--. 1 root root 1153 Oct 14 10:25 /etc/nginx/webapps.conf
-rw-r--r--. 1 root root  295 Oct 14 10:25 /etc/nginx/webapps.hostname.conf
-rw-r--r--  1 root root  321 Oct 14 10:25 /etc/nginx/webapps_settings.conf
-rw-r--r--  1 root root 1153 Oct 14 10:25 /etc/nginx/webapps.ssl.conf
 
What do you see in error logs of a domain on which you try to access phpmyadmin?
Is phpmyadmin accessible via any domain?
 
Where the error log to see?
I saw /var/log/nginx/error_log file , But it did not understand (If the error log file contents is needed Tell me to send it)
I cheked the whole domains , phpmyadmin on some domains is ok , on some domains is having trouble!
For example:
on this domain in ok: http://hzposhak.com/phpMyAdmin/
on this domain is having trouble : http://myaddlist.ir/phpMyAdmin/
 
Back
Top