On the linux server, debian is plesk 12. Through the plesk panel, two sites were created with different domains and directories:
/site1.com/httpdocs/
/site1.com/site.com/
I wanted to run cron, then I discovered that the ip addresses for the wget request between the two domains are different. Checked through the ping command via ssh and the addresses are really different. At the first domain (site1.com) everything works and shows the internal ip address of the server, at the second (site.com) it shows the external ip address and as a result it shows the 404 error not found when requesting wget http://site.com/
set Q=NS, write the domain name. see NS. giveset Q=Ain turn switch servers from which to askserver ipand again enter the domain name and see what specific DNS servers are responding to. Also, if it happens on the same machine where there is a dns-server - see /etc/resolv.conf there the addresses of the DNS servers that your own machine uses are used to determine any names. - Mike