I've just upgraded a website from Plesk-9 (Ubuntu 8) to Plesk-11 (CentOS 6.3).
The Plesk-11 server was created with a specific subdomain "sub.example.com", this also became the default webspace. Then the old site was migrated using the migration manager, with the same domain "sub.example.com".
When accessing sub.example.com from a browser or an external server, everything works fine; files are being served from "/var/www/vhosts/example.com/subdomains/sub/httpdocs".
But when the site itself links internally (from PHP running on the same server) to sub.example.com, file try to be hosted from "var/www/html" instead; the default page. Same if I try to use wget from SSH on the Plesk-11 server.
How do I fix it so even internal calls to "sub.example.com" go to the directory I want?