Hi, I changed the web server for a few months, going from apache2 to ngnix (new installation). I noticed that pages from another domain, simple html pages, are displayed on another domain (wordpress installed). In particular, I see them on the domain where I have installed wordpress and not vice versa. I think the problem is in the only configuration that I have entered on "nginx Directives", of which I am reporting the configuration. Code: location / { try_files $uri $uri/ /index.php?$args; } location /wp-admin/ { try_files $uri $uri/ /index.php?$args; auth_basic "Amministrazione"; auth_basic_user_file /var/www/clients/client1/web14/web/.htpasswd; } location /wp-admin/admin-ajax.php { allow all; } To be precise, I see the "page.html" page of the first site, on the site where there is wordpress and not vice versa. example: site.com/contatti.html (correct) sitewp.com/contatti.html (Not correct because this page belongs to "site.com")
That's explained in the FAQ: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
sorry Code: [email protected]:~# php -v PHP 7.3.19-1~deb10u1 (cli) (built: Jul 5 2020 06:46:45) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.19-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies Code: root@93-42-250-93:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is "Debian GNU/Linux 10 (buster)" [INFO] uptime: 08:50:35 up 3 days, 53 min, 1 user, load average: 0,13, 0,07, 0,01 [INFO] memory: total used free shared buff/cache available Mem: 8,0Gi 3,5Gi 873Mi 322Mi 3,7Gi 4,5Gi Swap: 4,0Gi 0B 4,0Gi [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.2 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.3.19-1~deb10u1 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Unknown process (nginx:) (PID 644582) [INFO] I found the following mail server(s): Postfix (PID 543) [INFO] I found the following pop3 server(s): Dovecot (PID 166) [INFO] I found the following imap server(s): Dovecot (PID 166) [INFO] I found the following ftp server(s): PureFTP (PID 571) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:993 (166/dovecot) [anywhere]:995 (166/dovecot) [localhost]:10023 (287/postgrey) [localhost]:10024 (598/amavisd-new) [localhost]:10025 (543/master) [localhost]:10026 (598/amavisd-new) [localhost]:10027 (543/master) [anywhere]:587 (543/master) [localhost]:11211 (155/memcached) [anywhere]:110 (166/dovecot) [anywhere]:143 (166/dovecot) [anywhere]:80 (644582/nginx:) [anywhere]:8080 (644582/nginx:) [anywhere]:8081 (644582/nginx:) [anywhere]:465 (543/master) [anywhere]:21 (571/pure-ftpd) ***.***.***.***:53 (183/named) [localhost]:53 (183/named) [anywhere]:22 (209/sshd) [anywhere]:25 (543/master) [localhost]:953 (183/named) [anywhere]:443 (644582/nginx:) *:*:*:*::*:993 (166/dovecot) *:*:*:*::*:995 (166/dovecot) *:*:*:*::*:10023 (287/postgrey) *:*:*:*::*:10024 (598/amavisd-new) *:*:*:*::*:10026 (598/amavisd-new) *:*:*:*::*:3306 (280/mysqld) *:*:*:*::*:587 (543/master) *:*:*:*::*:8142 (223/nodejs) [localhost]10 (166/dovecot) [localhost]43 (166/dovecot) *:*:*:*::*:80 (644582/nginx:) *:*:*:*::*:8080 (644582/nginx:) *:*:*:*::*:8081 (644582/nginx:) *:*:*:*::*:465 (543/master) *:*:*:*::*:21 (571/pure-ftpd) *:*:*:*::*:53 (183/named) *:*:*:*::*:22 (209/sshd) *:*:*:*::*:25 (543/master) *:*:*:*::*:953 (183/named) *:*:*:*::*:443 (644582/nginx:) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain f2b-postfix-sasl (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-sshd (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0
That's not what I've meant Have a look at the page, there is a chapter "When visiting Domain B, content of domain A is showing", which tells you what to do to solve your issue.